Author Topic: How can I step in to STL code  (Read 1805 times)

jpazarzis

  • Guest
How can I step in to STL code
« on: July 24, 2007, 06:28:39 pm »
Hi all,
evaluating CodeBlocks, the first issue that came up is how can I step in STL code in debug mode.
More than this but I think related to it, is how the compiler knows about the physical location (directory path) of the STL path? (in the compiler settings i could not find any setting although I found that the STL header files exist under C:\Program Files\CodeBlocks\include\c++\3.4.4 in a standard WinXP installation)

Thanks for any help

JohnP

Offline Roman

  • Multiple posting newcomer
  • *
  • Posts: 78
Re: How can I step in to STL code
« Reply #1 on: July 28, 2007, 11:28:22 pm »
Man, don't really sure if I got what's your problem but:

Simply push shift-f7 on something like std::sort(begin, end) and You get a long journey through the STL implementation crap.

Personally I would prefer to avoid passing through stl containers code when pressing shift-f7 - that would be a feature request to (don't really know - GDB or C::B).

How compiler knows where STL resides - it simply knows the relative path from the executables )

Regards,
Roman
CB LSI (C::B as a Little Secret Initiative)