No debugger info in VC++6

Posted on 2003-10-24
Medium Priority
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?
Question by:johnsla
LVL 32

Accepted Solution

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

Expert Comment

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


Expert Comment

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.

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Free Data Recovery software is an advanced solution from Kernel Tools to recover data and files such as documents, emails, database, media and pictures, etc. It supports recovery from physical & logical drive after a hard disk crash, accidental/inte…

624 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