Discussion:
NoStepInto with VS2005
(too old to reply)
Surya
2009-10-22 07:31:34 UTC
Permalink
Hello all,
I'm trying not to step into STL classes for my c++ code and my
registry key looks like this

**********************
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\NativeDE
\StepOver]
"std_string_c_str"="std\\:\\:basic_string.*\\:\\:.*=NoStepInto"
"std::vector"="std\\:\\:vector.*\\:\\:.*=NoStepInto"
**************************

In the code I've these statements

vector<string> vs ;
vs.push_back ("String 1") ;
vs.push_back ("String 2") ;

When I press F11 on vs.push_back() line, the debugger steps into
basic_string constructor class once, and then vector's push_back class
once (both of which i've not expected them to happen). Am I missing
something here ?

I'm using VS2005 SP1 on XP x64 SP2.

Thanks in advance,
Surya
Scot T Brennecke
2009-10-22 07:47:18 UTC
Permalink
Post by Surya
Hello all,
I'm trying not to step into STL classes for my c++ code and my
registry key looks like this
**********************
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\NativeDE
\StepOver]
"std_string_c_str"="std\\:\\:basic_string.*\\:\\:.*=NoStepInto"
"std::vector"="std\\:\\:vector.*\\:\\:.*=NoStepInto"
**************************
In the code I've these statements
vector<string> vs ;
vs.push_back ("String 1") ;
vs.push_back ("String 2") ;
When I press F11 on vs.push_back() line, the debugger steps into
basic_string constructor class once, and then vector's push_back class
once (both of which i've not expected them to happen). Am I missing
something here ?
I'm using VS2005 SP1 on XP x64 SP2.
Thanks in advance,
Surya
Because you're on a 64-bit OS, and VS is a 32-bit program, I believe you will be interested in this article:
Registry changes in x64-based versions of Windows Server 2003 and in Windows XP Professional x64 Edition:
http://support.microsoft.com/kb/896459
Surya
2009-10-22 08:54:31 UTC
Permalink
Registry changes in x64-based versions of Windows Server 2003 and in Windows XP Professional x64 Edition:http://support.microsoft.com/kb/896459
Thank you,

I'm now storing the reg keys in
HKLM\Software\Wow6432Node\Microsoft\VisualStudio\8.0\NativeDE
\StepOver.

It is working.

Thanks,
Surya

Loading...