Solved

Debugging with Dev Studio

Posted on 1998-07-22
4
209 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

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…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
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.

763 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

12 Experts available now in Live!

Get 1:1 Help Now