Click here to Skip to main content
15,881,588 members
Articles / Programming Languages / C++
Tip/Trick

Automatically Stepping over STL

Rate me:
Please Sign up or sign in to vote.
4.50/5 (2 votes)
13 Oct 2012CPOL 8K   2  
Automatically stepping over STL

Introduction

When you're debugging and you step into a line of code that has an STL variable, you first have to step into the STL source code. This quickly gets tedious, but there is a way to override this:

Open the registry and edit the following key (this is for Visual Studio 2008 on 32-bit Windows XP):

HK_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\NativeDE\StepOver

or for Visual Studio 2008 on 64-bit Windows 8.1:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\9.0\NativeDE\StepOver 

Create a new string value "20" (if it's not already there) and give it the value "std\:\:.*=nostepinto".

Image 1

Note

I discovered this trick from this blog post, which shows you how to do it for ATL.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer Astronautz
Spain Spain
After working in the software industry for many years, I've started my own games company that specialises in strategy games for mobile platforms.

Comments and Discussions

 
-- There are no messages in this forum --