.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.

No step through, no breaking, even if you have a breakpoint.


Comments are closed.