public static void dump_stack() { Exception o = new Exception( "jop" ); Console.WriteLine( o.StackTrace ); }