Solved

No debugger info in VC++6

Posted on 2003-10-24
6
171 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
6 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 30 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Tab names are off by one 5 53
firstChar challenge 13 110
Problem to event 3 78
Problem to open Excel file 15 97
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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 the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

920 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now