mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 21:49:33 +02:00
LazDebuggerFp: Don't set breakpoints when the debug session is already over
This commit is contained in:
parent
ec98b15709
commit
fd792b5d6f
@ -2123,7 +2123,8 @@ procedure TFPBreakpoint.DoChanged;
|
||||
begin
|
||||
if FResetBreakFlag and not FSetBreakFlag then
|
||||
ResetBreak
|
||||
else if FSetBreakFlag then
|
||||
else
|
||||
if FSetBreakFlag and not (TFpDebugDebugger(Debugger).State in [dsStop, dsError]) then
|
||||
SetBreak;
|
||||
|
||||
FSetBreakFlag := false;
|
||||
|
Loading…
Reference in New Issue
Block a user