PDA

View Full Version : how to debug grahics applications using visual C++ debugger



arpit
09-27-2004, 11:02 PM
hi everyone,

I want to find how you debug graphics applications in the visual C++ debugger. If it is a normal code, I know how to set up break points, watch etc. But in the graphics applications the draw() loop needs to continuously execute and setting a break point doesn't work.

Thanks
Arpit.

rgpc
09-27-2004, 11:21 PM
This probably doesn't belong in this forum.

What do you mean by setting a breakpoint doesn't work? It works fine for me and normal debugging methods seem to be adequate in MSVC.

At the very least you could dump values out to a file and/or use remote debugging (although with the later you might as well be using breakpoints anyway).

Remember, opengl does what you tell it to. If you are getting results you don't expect, set a break point and look at the values you are passing to GL.