mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 18:59:06 +02:00
dump stacktrace if an exception occurs while running a tool
git-svn-id: trunk@8320 -
This commit is contained in:
parent
b9c2988810
commit
a57029a349
@ -365,6 +365,8 @@ begin
|
|||||||
end;
|
end;
|
||||||
except
|
except
|
||||||
on e: Exception do begin
|
on e: Exception do begin
|
||||||
|
DebugLn('TExternalToolList.Run ',lisExtToolFailedToRunTool, ' ', E.Message);
|
||||||
|
DumpExceptionBackTrace;
|
||||||
Result:=MessageDlg(lisExtToolFailedToRunTool,
|
Result:=MessageDlg(lisExtToolFailedToRunTool,
|
||||||
Format(lisExtToolUnableToRunTheTool, ['"', Title, '"', #13, e.Message]
|
Format(lisExtToolUnableToRunTheTool, ['"', Title, '"', #13, e.Message]
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user