mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 02:48:07 +02:00
Add Exception backtrace when compiled with -dDUMP_EXCEPTION_BACKTRACE
This commit is contained in:
parent
2ad20b3787
commit
6f5c6ac410
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user