禁止vs2015 debug时跳转到STL中 Not step into
打开下面这个文件。注意这个文件是只读文件,需要先去掉只读属性才能修改
在之前插入一行 std::.* NoStepInto
也就是将
经过测试,这个方法也适用于VS2013,当然default.natstepfilter的文件路径要修改一下如果需要详细定制StepInto,请查看参考资料
参考资料1,参考资料2,参考资料3
来自为知笔记(Wiz)
C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Packages\Debugger\Visualizers\default.natstepfilter
在之前插入一行
也就是将
修改为
- <?xml version="1.0" encoding="utf-8"?>
__security_check_cookie NoStepInto __abi_winrt_.* NoStepInto _ObjectStublessClient.* NoStepInto _Invoke@12 NoStepInto _RTC_Check(Esp|StackVars) NoStepInto _chkstk NoStepInto ATL::CComPtrBase.*::operator& NoStepInto ATL::CComPtrBase.*::operator-> NoStepInto ATL::CHeapPtrBase.*::operator& NoStepInto ATL::CHeapPtrBase.*::operator-> NoStepInto ATL::CComBSTR::operator& NoStepInto std::forward<.* NoStepInto std::move<.* NoStepInto Platform::EventSource::Invoke.* NoStepInto IID_PPV_ARGS_Helper<.* NoStepInto Microsoft::WRL::ComPtr<.*>::operator& NoStepInto Microsoft::WRL::ComPtr<.*>::operator-> NoStepInto Microsoft::WRL::Details::ComPtrRef.* NoStepInto operator new NoStepInto
<?xml version="1.0" encoding="utf-8"?>
xmlns="http://schemas.microsoft.com/vstudio/debugger/natstepfilter/2010">
__security_check_cookie NoStepInto
__abi_winrt_.* NoStepInto
_ObjectStublessClient.* NoStepInto
_Invoke@12 NoStepInto
_RTC_Check(Esp|StackVars) NoStepInto
_chkstk NoStepInto
ATL::CComPtrBase.*::operator& NoStepInto
ATL::CComPtrBase.*::operator-> NoStepInto
ATL::CHeapPtrBase.*::operator& NoStepInto
ATL::CHeapPtrBase.*::operator-> NoStepInto
ATL::CComBSTR::operator& NoStepInto
std::forward<.* NoStepInto
std::move<.* NoStepInto
Platform::EventSource::Invoke.* NoStepInto
IID_PPV_ARGS_Helper<.* NoStepInto
Microsoft::WRL::ComPtr<.*>::operator& NoStepInto
Microsoft::WRL::ComPtr<.*>::operator-> NoStepInto
Microsoft::WRL::Details::ComPtrRef.* NoStepInto
operator new NoStepInto
std::.* NoStepInto
经过测试,这个方法也适用于VS2013,当然default.natstepfilter的文件路径要修改一下如果需要详细定制StepInto,请查看参考资料
参考资料1,参考资料2,参考资料3
来自为知笔记(Wiz)