# Wednesday, December 15, 2004
« Tip of the Day: The Importance of Defrag... | Main | Tip of the day - Javascript - Getting th... »

Do you have a routine which you know works, and you don't want to have to step into when you're debugging? Granted, you could you the hotkeys to do it, but why bother? The System.Diagnostics namespace provides some neat functionality for helping you in your debugging process. Here's some examples:

//This attribute prevents the debugger from entering, as well as no breakpoints within

<System.Diagnostics.DebuggerStepThrough()>

private string MyRoutine()

{

//Don't step through this

}

I am actually not sure what the difference between that and the DebuggerHidden() attribute is though. The description in the help is the same. Anyone know?