.NET Attributes to use more often

My theme here are general purpose programming attributes, ones that you might use for any class.

(first seen here)

DebuggerStepThroughAttribute, [DebuggerStepThrough()]
You can still set breaks here, but normally the debugger will fly right over it. Use this when you find yourself running through the same boiler plate code over & over again, especially if the code is machine generated, or otherwise not of interest.

DebuggerNonUserCodeAttrbute.[DebuggerNonUserCode()]
No step through, no breaking, even if you have a breakpoint.

[DebuggerDisplay(

Comments are closed.