30 Console.
Write(
string.Concat(
"================\r\n" + $
"{DateTime.Now}: First-Chance Exception\r\nThread: {Thread.CurrentThread.ManagedThreadId} [{Thread.CurrentThread.Name}]\r\nCulture: {Thread.CurrentThread.CurrentCulture.Name}\r\nException: {text2}\r\n",
"================\r\n\r\n"));
36 Console.
Write(
string.Concat(
"================\r\n" + $
"{DateTime.Now}: Unhandled Exception\r\nThread: {Thread.CurrentThread.ManagedThreadId} [{Thread.CurrentThread.Name}]\r\nCulture: {Thread.CurrentThread.CurrentCulture.Name}\r\nException: {text}\r\n",
"================\r\n"));
61 foreach (
Exception ex2
in loaderExceptions)
80 [Conditional(
"DEBUG")]
static void Write(string format, object? arg0)
override string ToString()
static string Combine(string path1, string path2)
static bool WriteException(Options options, string outputDirectory=".")
static bool LogAllExceptions
static bool DumpOnException
static void Inititialize()
static CrashDump.Options CrashDumpOptions
static string PrintException(Exception ex)
static void HookDebugExceptionDialog()
static void DisableCrashDumps()
static void EnableCrashDumps(CrashDump.Options options)