I’m finding my way through a 10000-file codebase by placing breakpoints and I’m expected to change all the GDI graphics calls to OpenGL.
The application is a standard Windows menu driven application. The trouble is, that when I place a breakpoint at any of the onDraw() functions and when the breakpoint is hit, if I mimimise the Visual Studio IDE to see my application’s window, I can’t see what’s drawn on the window because the application’s window is stuck at the breakpoint and hence does not refresh to show what it has just drawn. All I get to see on my application’s window is the rectangular region of the Visual Studio IDE that was there at that position before I minimised it. Invalidated window.
I just can’t figure out how to do any graphics debugging if this keeps happening. How can I put breakpoints and yet get to see what my application has drawn in it’s window?
Move your application window to the place where it can’t be overlapped by your IDE. Second monitor is in a great help for such things.