Debug + showscreen -1 = better debugging?

Previous topic - Next topic

bigsofty

When debugging is being used you cant see what current frame is up to, until it hits the SHOWSCREEN command, usually in the main loop.

If the debugger is being used, a "SHOWSCREEN -1" should be called after each line that is being single stepped on or a breakpoint is activated, by the debugger.

This would allow the user to see the debugger in action within the rendering context, graphics would updated, as the code is being single stepped. A breakpoint would show what happened at the point the breakpoint was entered. Debugging would be a lot easier IMHO.

Cheers,


Ian
Cheers,

Ian.

"It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration."
(E. W. Dijkstra)

Kitty Hello

I'll see if I can swap the screen back and forth for the debugger. Worth a try.