65.9K
CodeProject is changing. Read more.
Home

Automatically Stepping over STL

starIconstarIconstarIconstarIcon
emptyStarIcon
starIcon

4.25/5 (3 votes)

Oct 13, 2012

CPOL
viewsIcon

8212

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".

Note

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