} catch (Exception thrown) {
var e = thrown.StackTrace;
if (tmp == null || tmp.Length == 0) {
System.Console.WriteLine("STACKTRACE: " + s);
System.Console.WriteLine("FULL STACKTRACE: " + new System.Diagnostics.StackTrace(true).ToString());
public static void Main()