Last Updated:
DebuggerStepThrough
Photo by Irina Iriser from Pexels

Automatically stepping through code

Roman
Roman debugger

There are times when it is prefered to skip method from debugger. For such cases can be used System.Diagnostics.DebuggerStepThrough attribute [DebuggerStepThrough]. Visual Studio debugger will skip break points in method marked with [DebuggerStepThrough] even if F11 is pressed. 

[DebuggerStepThrough] can also be used to mark class as well. In that case all methods in class will be skipped from debugger.