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?
Powered by: newtelligence dasBlog 2.3.9074.18820
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2012, © Copyright 2010
E-mail