Stop debugger from step through
Debugging projects can be difficult when the code step through lots of classes or functions that is not necessary to debug. The following attribute make debugger to step over any decorated source code.
AttributeTargets.Constructor|AttributeTargets.Method, Inherited = false)]
public sealed class DebuggerStepThroughAttribute: Attribute
Also these are other useful attributes to know:
Determines if and how a member is displayed in the debugger variable windows.
Determines how a class or field is displayed in the debugger variable windows.
Debugger does not stop in a method marked with this attribute and does not allow a breakpoint to be set in the method.
This attribute suppresses the display of these adjunct types and members in the debugger window and automatically steps through, rather than into, designer provided code.
When executing within the boundaries of the DebuggerNonUserCodeAttribute, designer-provided code is executed as a step-through until the next user supplied code is encountered.
It allow to overwrite how a given type is shown in debugger.
Associate a Visualizer for a given class. For more information refer to http://msdn2.microsoft.com/en-us/library/e2zc529c.aspx