PREP 2014 Question Authoring - Archived

debugging graphics and general

Re: debugging graphics and general

by Joel Trussell -
Number of replies: 0
I kinda figured that when I wrote 
I thought this would be problems with the computed limits. But I'm having difficulty displaying the limits, since program bombs. How do I find the offending values? 

I found the problems  but in order to get the program to allow printing the various values, I had to comment out a lot of stuff that was after the offending line along with the line the call inserting the image. 

Is there a better/more efficient way to print the values before the point where the program aborts? 

Is there a way to use an editor that would make the debugging process less onerous? I could use a standard editor copying and pasting the new code to the webwork editor is the only way I'd know to run the modified code.