Auto-skip STL functions during step-by-step debugging in Visual Studio

后端 未结 3 1181
悲&欢浪女
悲&欢浪女 2020-12-24 14:43

During step-by-step debugging, I often use \"step into\" to halt at every line in the section that I am debugging, to see all my code that\'s executed.

But library c

3条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-24 15:38

    The answer is as above mentioned, but in case you use VisualStudio 2017 or it didn't work for you, then try the following:

    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Packages\Debugger\Visualizers

    Open the following file with notepad or whatever you have:

    default.natjmc

    and add this line: std\:\:.*NoStepInto The 'name' means the value of the registry key in that file and 'action' is self-explanatory.

    If you want to add the registry key too, (not sure if it is necessary), then you will find it here: \HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VSTA\8.0\NativeDE\StepOver At least, that was the path in my case. It took a good hour to find these, so I hope that it will help somebody. Remove the 'Wow6432Node' if you have 32bit machine, as above mentioned.

提交回复
热议问题