Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 236
  • Last Modified:

Debugging with Dev Studio

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
dt19643063098
Asked:
dt19643063098
  • 2
1 Solution
 
duneramCommented:
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
 
nietodCommented:
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
 
dt19643063098Author Commented:
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
 
nietodCommented:
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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now