<p>Boost is a great set of libraries and it really <em>boosts</em> productivity. But debugging code that uses it is a total nightmare. Sure, stepping through twenty thousand header files can be a valuable intellectual exercise, but what if you need to do it over and over again?</p>

<p>Is there a developer-friendly way of just skipping the boost portion and having the debugger go straight to my code?</p>

<p>Visual Studio has a <a href="http://msdn.microsoft.com/en-us/library/system.diagnostics.debuggerstepthroughattribute.aspx" rel="noreferrer">DebuggerStepThroughAttribute</a> for .NET framework. Is there anything similar for native C++?</p>

You can skip the boost namespace entirely by using the techniques described
here
. Just use something like:
```
boost\:\:.*=NoStepInto
```
... in the relevant registry entry.
However if your code gets called from within boost (e.g. through a
```
boost::function
```
or similar) then your code will be skipped as well! I'll be interested if someone can come up with a good solution for
that
problem...