mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 00:39:44 +02:00
LazDebuggerFp: Don't set breakpoints when the debug session is already over
(cherry picked from commit fd792b5d6f
)
This commit is contained in:
parent
fbb65eaa20
commit
ef82482ce5
@ -2078,7 +2078,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