Debugging code in Visual Studio 2005
If you have a library of well debugged code you might want to avoid stepping through it every time you debug using Visual Studio 2005. One easy way to do this is using the DebuggerNonUserCode attribute. You can apply it either to a specific function or if you prefer to a complete class. The effect of the attribute is that wVS2005 will treat the code as external to your program and not step into it. However if this code contains a call into any code that doesn’t have the DebuggerNonUserCode attribute it will step right into it.
Pretty neat and makes debugging a lot nicer experience.
Maurice de Beijerwww.TheProblemSolver.nl