I remember that there was some type of decorator to exclude certain classes from being show while debugging.
Reason:
Have multiple classes. If debugger jumps to another class (thread) during debugging, that can be very anoying. Some helper classes should rather be stepepd over.
But I just can't find this decorator anywhere. Does anyone remember how to exclude a file so that debugger does not step into it?
You're probably looking for DebuggerStepThrough
attribute.
You are looking for the DebuggerStepThroughAttribute.
You can apply this attribute to a class
, a method
, a struct
or a constructor
. Remember that the debugger will always step through the code that is flagged with this attribute, even if you put a breakpoint in it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With