Thursday, 28 January 2016

Visual Studio 2015 skip stl::* stepInto

I found a solution on the net to skip the entering into VS stl templates:

You should edit this file:
c:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Packages\Debugger\Visualizers\default.natstepfilter

By default defense the UAC and readonly, but you can replace this file. This file is an XML and add the following line between <StepFilter /> tag:

  <Function>
    <Name>std\:\:.*</Name>
    <Action>NoStepInto</Action>
  </Function>

Start VS and test it. There is an interesting of this solution stop in stl template if you put a breakpoint. After I removed it the filter works like a charm.

No comments:

Post a Comment