Solved

Debugging with Dev Studio

Posted on 1998-07-22
4
218 Views
Last Modified: 2010-04-10
I have a very large project and when I go to debug it, I always get stuck off in MFC code or the Disassembly.  Is there any option with the debugger that I can set to only debug the files that are currently in my project workspace and just run through all of the MFC code without debugging it.
0
Comment
Question by:dt19643063098
  • 2
4 Comments
 
LVL 2

Accepted Solution

by:
duneram earned 50 total points
ID: 1168378
Before you start the debug run, place a breakpoint in your main code somewhere, perhaps where the application is constructed.

Then when it starts and puts you in the wierd location, just 'continue' and it will stop at the breakpoint you set.


0
 
LVL 22

Expert Comment

by:nietod
ID: 1168379
how do you get into this code?  
when you are debugging and are about to run a procedure, there are two options.  you can "step over the procedure" which runs the procedure and then stops on the next line of cude after the procedure.  Or you can "step ito the procedure" which calls the procedure  and stops on the first line of the procedure.

perhaps you need to be stepping over procedures rather than into them?
0
 

Author Comment

by:dt19643063098
ID: 1168380
I know that I can step over and I know that I can step out of something that I just got into, but I am looking for an option to only debug my source files.  I don't want to debug anything within MFC.  Based on these answers, I assume that there is not an option.
0
 
LVL 22

Expert Comment

by:nietod
ID: 1168381
If you don't step into MFC procedures, you won't debug them.  Unless an exception occurs inside them, in which case you do want to debug them anyways.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

820 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