mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-22 21:19:24 +02:00
LazDebuggerFp: Check callback is assigned.
This commit is contained in:
parent
0e5ea13b8a
commit
2fa72c8755
@ -3629,6 +3629,7 @@ begin
|
||||
else
|
||||
ResText := GetFpErrorHandler.ErrorAsString(FDbgController.LastError);
|
||||
DoDbgEvent(ecProcess, etProcessExit, ResText); // or ecDebugger?
|
||||
if Assigned(OnFeedback) then
|
||||
OnFeedback(self, ResText, '', ftError, [frOk]);
|
||||
Exit;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user