Possible duplicate:
How to avoid entering source library files when debugging in Qt Creator using gdb?
Does anyone know how to tell gdb to only enter the code that is in your project? I know that it is difficult for the debugger to know what is "in the project" and what is a library .... but I thought that some naive checks might help, for example, not looking at files that are not in the users home directory. I often have code like this:
MyFunction(complexVarable, complexvar); //passed by value
and gdb insists on looking at copy constructors of the two passed values, but all I care about is MyFunction. Any tips? There are two parts to the question:
- ignore code that is not mine (not in the home directory)
- skip copies for function calls.
thanks.
EDIT: btw I am using emacs, maybe there are some tools that I have missed, but I am open to using gdb external interfaces.
source share