The Problem Solver

Tell me and I will forget
Show me and I will remember
Involve me and I will understand
- Confucius -

Google Ads

This Blog

Syndication

Search

Tags

News





  • View Maurice De Beijer's profile on LinkedIn

Community

Email Notifications

Explore

Archives

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 Beijer
www.TheProblemSolver.nl


Published Sat, Feb 4 2006 14:11 by Maurice