How to

step through method in debug mode

Published: 25. November 2011 | Updated: 25. November 2011
License: Microsoft Public License (MS-PL)
Categories: Framework » Attributes, Debug
Tags: Attributes C# Debug Visual Studio
Was this snippet helpful for you? YESYES / NONO

Snippet example shows how to use attribute for avoid step into method when debugging
[DebuggerStepThrough]
public static void SomeMethod()
{
    Console.WriteLine("Do something...");
}
Send us feedback about this snippet »



Related Snippets: