How to Stop debugging method or class in c#
Sometimes you need to step through code, So you use debugging in Visual Studio.
But some other times you visit the same method over and over again for 100 times
if and only if the code is tested.
then you can do decorate your method with this attribute [DebuggerStepThrough()] and your debugger will never hit this method again
But some other times you visit the same method over and over again for 100 times
if and only if the code is tested.
then you can do decorate your method with this attribute [DebuggerStepThrough()] and your debugger will never hit this method again
first time to know about it
ReplyDelete