Skip to main content
gamedev.net
🔒 Locked

debuger

Started by slightlywhacked Nov 4, 2000 at 8:54 PM 0 replies 400+ views
Original Post
slightlywhacked
slightlywhacked
In VC++ is there a way I can use a debuger to view variables, and the changes of variables as I go through the program? If so..HOw?? thanx in advance
BAHcows go moomoos go cow
Heraldin
Heraldin
Yes. From the Build menu, choose ''Start Debug'' and you''ll get a pop-up menu. Choose ''Go'' to execute the program or ''Step Into'' to stop at the WinMain function. You can set breakpoints (points where the debugger interrupts the program) by pressing F9 on the line where you want to set a breakpoint. Once in the debugger, use View/Debug Windows to display various information (variables, registers, call stack, etc.). You can step through the code from the Debug menu (Step Over, etc.).

All this is in the MSDN documentation, but that should get you started...

Dave

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.