William DePalo said:
Greg Decos said:
Is there any way to bypass stepping through the standard libraries when
debugging?
Well, how did you get there? [...]
It happens to me this way:
void f(const std::vector<X>& v)
{
g( v.size() );
}
When you're on the call to 'g()' and
want to step into it, you first have
to step into 'std::vector<>::size()'.
This can be annoying, although I would
not turn it of as occasionally I want
to go there.
I have two ways to deal with that: I
jump out immediately as Will suggested
(that's <Shift>+<F11> with e.g. VC-
Profile). The disadvantage is, that
this leaves many std lib headers open
and when you have code like this
g( v.begin(), v.end(), l.size() );
you have to do it multiple times.
So often I open the disasembler windows
(<Alt>+<F8>), look for the call I want
to step into, goto this (Curser in its
Schobi
--
(e-mail address removed) is never read
I'm Schobi at suespammers dot org
"Sometimes compilers are so much more reasonable than people."
Scott Meyers