mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 04:19:19 +02:00
FpDebug: provide trace debugln for errors in worker threads
This commit is contained in:
parent
a68a32a9b5
commit
ef032fca2d
@ -865,6 +865,7 @@ begin
|
||||
on E: Exception do begin
|
||||
WorkItem.FError := E;
|
||||
DebugLn(FQueue.FLogGroup or DBG_ERRORS, '%s!%s Thread-Workitem raised exception: "%s" => %s: "%s"', [dbgsThread, DbgSTime, WorkItem.DebugText, E.Classname, E.Message]);
|
||||
DumpExceptionBackTrace(FQueue.FLogGroup or DBG_ERRORS);
|
||||
end;
|
||||
end;
|
||||
try
|
||||
|
Loading…
Reference in New Issue
Block a user