Writes a crash report when an exception ends the program, and one for the previous run when it did not end cleanly. It sees managed exceptions only (
and unobserved task exceptions): a crash in native code kills the process without running any managed code, and is found on the next start by , from the marker the
dead run left (see ). Reports are plain text files named crash-*.txt; the newest twenty are kept.