Is NoStepInto Supported in VC7
-
In VC6, you can modify the autoexp.dat file and add a section called [ExecutionControl]. Within that section you can tell the debugger about functions that you don't want it to step into; CString::CString=NoStepInto. Is this supported in VC7? It doesn't seem to be supported the same way as VC6, but perhaps there is another way to get the same result. Thanks Ron Ward
-
In VC6, you can modify the autoexp.dat file and add a section called [ExecutionControl]. Within that section you can tell the debugger about functions that you don't want it to step into; CString::CString=NoStepInto. Is this supported in VC7? It doesn't seem to be supported the same way as VC6, but perhaps there is another way to get the same result. Thanks Ron Ward
yes, it is, but it's moved to registry. referring to same maillist: We read the inclusion/exclusion list from the registry at PRODUCT_ROOT\NativeDE\StepOver Each string value in that RegKey should have a decimal number for its name and a value in the following format: RegExp=[No]StepInto Where RegExp is a regular expression per the standard Visual Studio regular expression format, with the following additional escapes: \cid: A C/C++ identifier \funct: A C/C++ function name \scope: A set of class/namespace specifiers for a function (i.e., ATL::CFoo::CBar::) \anything: any string \oper: a C/C++ operator Due to an oversight, the items are evaluated in descending numeric order instead of ascending order: the '20' rule will match before '10'. The first matching rule is used. If no matching rule is found, we step into. (i.e., there is an assumed entry of MAX_INT \anything:=StepInto examples: --------- Don't step into members of CString[AWT], etc.: 1 \scope:CString.*\:\:.*=NoStepInto Don't step into overloaded operators: 10 \scope:operator\oper:=NoStepInto Don't step into ATL:: except for CComBSTR's non-operator members: 20 ATL\:\:CComBSTR::\funct:=StepInto 10 ATL\:\:.*=NoStepInfo Don't step into templated things, unless they're merely templated functions in a non-templated class: 20 \scope:\funct:=StepInto 10 .*[\<\>].*=NoStepInto
-
yes, it is, but it's moved to registry. referring to same maillist: We read the inclusion/exclusion list from the registry at PRODUCT_ROOT\NativeDE\StepOver Each string value in that RegKey should have a decimal number for its name and a value in the following format: RegExp=[No]StepInto Where RegExp is a regular expression per the standard Visual Studio regular expression format, with the following additional escapes: \cid: A C/C++ identifier \funct: A C/C++ function name \scope: A set of class/namespace specifiers for a function (i.e., ATL::CFoo::CBar::) \anything: any string \oper: a C/C++ operator Due to an oversight, the items are evaluated in descending numeric order instead of ascending order: the '20' rule will match before '10'. The first matching rule is used. If no matching rule is found, we step into. (i.e., there is an assumed entry of MAX_INT \anything:=StepInto examples: --------- Don't step into members of CString[AWT], etc.: 1 \scope:CString.*\:\:.*=NoStepInto Don't step into overloaded operators: 10 \scope:operator\oper:=NoStepInto Don't step into ATL:: except for CComBSTR's non-operator members: 20 ATL\:\:CComBSTR::\funct:=StepInto 10 ATL\:\:.*=NoStepInfo Don't step into templated things, unless they're merely templated functions in a non-templated class: 20 \scope:\funct:=StepInto 10 .*[\<\>].*=NoStepInto
Thanks much for the information. I'm not having luck getting this to work though. I'm assuming I'm at the wrong key in the registry. Is PRODUCT_ROOT = HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.0? Should this exported key work? Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.0\NativeDE\StepOver] "1"="\\scope:CString.*\\:\\:.*=NoStepInto" Thanks again for all the information though. -Ron Ward
-
Thanks much for the information. I'm not having luck getting this to work though. I'm assuming I'm at the wrong key in the registry. Is PRODUCT_ROOT = HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.0? Should this exported key work? Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.0\NativeDE\StepOver] "1"="\\scope:CString.*\\:\\:.*=NoStepInto" Thanks again for all the information though. -Ron Ward
-
it's user specific, so it is:
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\7.0\NativeDE\StepOver
Hope this one will work (didn't tried it yet)