DebuggerStepThrough requests that the debugger step through a function without any user interaction.
static void Main(string[] args) { DoWorkProxy(); Console.ReadLine(); } [DebuggerStepThrough,DebuggerHidden] static void DoWorkProxy() { PrintTime(); } static void PrintTime() { Console.WriteLine($"Now is {DateTime.Now.ToString("yyyyMMddHHmmssffff")} "); }
DebuggerStepThrough requests that the debugger step through a function without any user interaction.