?
Solved

No debugger info in VC++6

Posted on 2003-10-24
6
Medium Priority
?
182 Views
Last Modified: 2013-11-20
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?
0
Comment
Question by:johnsla
3 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 120 total points
ID: 9616889
Are you building the DEBUG build?  That's usually the best approach.
0
 
LVL 4

Expert Comment

by:AmitAgarwal
ID: 9617044
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
0
 

Expert Comment

by:mromeo
ID: 9717908
Make sure you select "Debug" under "Build->Set Active Configuration..."  This will ensure you are building the Debug executable and not the Release build.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month14 days, 11 hours left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question