Add Exception backtrace when compiled with -dDUMP_EXCEPTION_BACKTRACE

This commit is contained in:
Pierre Muller 2023-10-09 22:02:28 +02:00
parent 2ad20b3787
commit 6f5c6ac410

View File

@ -341,6 +341,9 @@ begin
{ in case of 50 errors, this could cause another exception,
suppress this exception
}
{$ifdef DUMP_EXCEPTION_BACKTRACE}
DumpExceptionBackTrace(stderr);
{$endif DUMP_EXCEPTION_BACKTRACE}
Message(general_f_compilation_aborted);
except
on ECompilerAbort do