Link to home
Start Free TrialLog in
Avatar of johnsla
johnsla

asked on

No debugger info in VC++6

I have been working on an application that I have been porting around to various computers.  For some reason I cannot get it to include debugging information.  I continually get the dialog that no debugging information is available for my executable.  Under the project settings in the C/C++ tab I have the optimizations set to default.  This is the only place I notice one could specify Disable (Debug) but I certainly don't have it set that way.  I really need to be able to debug.  What am I missing?
ASKER CERTIFIED SOLUTION
Avatar of jhance
jhance

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AmitAgarwal
AmitAgarwal

If you are having release build and you want to enable debug info for that. you need to do the following things
in C/C++ tab
1. from Optimization combo box select Disable (debug)
2. from debug info combo box select "Program Database"

in Link tab
1. Check the "Generate Debug info" check box.

Now build the project and this will allow you to debug

amit
Make sure you select "Debug" under "Build->Set Active Configuration..."  This will ensure you are building the Debug executable and not the Release build.