• Advertisement
Sign in to follow this  

VC++.net Debugger

This topic is 4714 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm not exactly sure how to use the VC++.net Debugger. I know at least how to start it, and when an error pops up, I boot it up and find the problem. But beyond that I have no idea how to use any of the advanced features. Could someone show me a book or a tutorial or something? I looked all through the docs that came with it, but it has nothing to offer; just class lists and stuff.

Share this post


Link to post
Share on other sites
Advertisement
There's nothing much to know. F9 to place a breakpoint (before or during debugging), F10 to step over a function call, F11 to step into one. Shift+F11 to step out of a function call.
If you goto Debug -> Windows -> Watch and select a watch window (while debugging), you can enter a variable name and keep an eye on it.

Share this post


Link to post
Share on other sites
Then you can also view the call stack the contents of the registers, etc etc etc, though many people do not use these features.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement