5

How can I get the Visual Studio debugger to ignore certain source files? In other words, I would like it to behave as if the functions defined in those files had no debugging info, so that:

  • When stepping into code, it will ignore functions defined in those files (a smart pointer operator-> is an example where this is useful)
  • If the debugger stops due to an exception or _asm int 3 in one of these files, it shows a function further up the callstack instead (handy for assert code)

VC6 had a (undocumented?) feature along these lines, if my long term memory isn't playing tricks on me.

I'm using Visual Studio 2005, but the answer for each version of Visual Studio, if different, would be useful.

1
  • VC's debugger is not the best... ;-) Commented Jun 10, 2009 at 9:49

1 Answer 1

3

Here's a tutorial / explanation from an msdn blog.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.