Is there a way to do step-by-step debugging of graphical output to a window?
For instance, if I have several drawing functions called, and I want to see what the window looks like after each one. When I pause the program and go to do step-by-step debugging in my IDE, the window loses focus, and won't be updated or brought back into focus until the program is unpaused and gets back into the event loop, so I can't see the effect of each function individually.
Does anyone have some method of getting around this?