Sign in to follow this  
jagguy

debug

Recommended Posts

jagguy    100
i should have posted my original message here (sorry). i dont know how to use a debugger in vc6++ on a win32 app. i simply add a breakpoint and f5 then program hangs i just want to get values of variables during my program...how do i do it?

Share this post


Link to post
Share on other sites
Telastyn    3777
Care to be a little more specific?

Generally, you go Build > Start Debug > Go. Once your program blows up or hits the breakpoint, the variable window should be in the lower left side [unless you've muddled with the defaults]. You can also go to Build > Quickwatch while it's stopped like that to view non-local/auto'd variables and expressions. To continue from that stopped point step by step, use the 'step' command. [under build > debug iirc...] step into will go into your own functions and go through those step by step, step over will just execute them.

Share this post


Link to post
Share on other sites
jagguy    100
OK it works now, I dont know what happened before as i did the same

is there a way to get the program to run and dump variable values to another window while running?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this