how to avoid stepping into STL code

J

John Black

Hi,
I wonder if there is any good way in debugging the code not steping
into STL code, it is easy to do in normal statement, just click "step
over", but when there are some STL type variable on the function
argument list, I do not find a way to skip stepping into STL.

Any suggestion?
 
P

Phlip

John said:
I wonder if there is any good way in debugging the code not steping
into STL code, it is easy to do in normal statement, just click "step
over", but when there are some STL type variable on the function
argument list, I do not find a way to skip stepping into STL.

A> <Shift+F11> to step out

B> put a breakpoint in the target function.

C> post this question on a newsgroup qualified to answer it

D> write lots of unit tests, to decrease the incidences of debugging.
 
M

Mike Wahler

John Black said:
Hi,
I wonder if there is any good way in debugging the code not steping
into STL code, it is easy to do in normal statement, just click "step
over", but when there are some STL type variable on the function
argument list, I do not find a way to skip stepping into STL.

You're asking about how to use a particular debugger (you didn't
say which, but don't bother). That's not topical here, only the
C++ language itself (and its standard library). Consult support
resources for your debugger. E.g. try the vendor's web site.
Also, www.groups.google.com and www.usenet.org are useful for
finding newsgroups about particular topics.

Purpose of comp.lang.c++:
http://www.slack.net/~shiva/welcome.txt

-Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top