Solved

Debugging with Dev Studio

Posted on 1998-07-22
4
211 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

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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

943 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

1 Experts available now in Live!

Get 1:1 Help Now