mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-24 14:09:17 +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,
|
{ in case of 50 errors, this could cause another exception,
|
||||||
suppress this exception
|
suppress this exception
|
||||||
}
|
}
|
||||||
|
{$ifdef DUMP_EXCEPTION_BACKTRACE}
|
||||||
|
DumpExceptionBackTrace(stderr);
|
||||||
|
{$endif DUMP_EXCEPTION_BACKTRACE}
|
||||||
Message(general_f_compilation_aborted);
|
Message(general_f_compilation_aborted);
|
||||||
except
|
except
|
||||||
on ECompilerAbort do
|
on ECompilerAbort do
|
||||||
|
Loading…
Reference in New Issue
Block a user