Sign in to follow this  
andue

can you teach me some debug technique when programming with MSDEV?

Recommended Posts

hi, Thanks all you guys first. when I programming with MSDEV, How can I know the position in my code when I know the hexadecimal address? For example, when I encountered some exception, I got the address of current function at the break point through debug tool's variables.Sometimes the code shows to me is assembler,my question is how can I know where my programm is now executing in? Have I explained my question clearly? Thanks again

Share this post


Link to post
Share on other sites
Build it in debug. Then depending on your version of software you are using. In VS C++ 6 it's under Edit > Goto when you run your program under debug mode.

It brings up a special dialog where you can enter many different things into goto - including address.

If your program is running in Release the best you are going to get is assembler, because building in Debug puts in loads of metainformation that points to places in your source files.

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