Solved

No debugger info in VC++6

Posted on 2003-10-24
6
173 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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Different colored text in ComboBox without Subclassing 8 60
Adapt this command to show who installed 29 108
pre4 challenge 19 100
Making an alias 7 95
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. …
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

773 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