mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 08:16:04 +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
|
begin
|
||||||
if FResetBreakFlag and not FSetBreakFlag then
|
if FResetBreakFlag and not FSetBreakFlag then
|
||||||
ResetBreak
|
ResetBreak
|
||||||
else if FSetBreakFlag then
|
else
|
||||||
|
if FSetBreakFlag and not (TFpDebugDebugger(Debugger).State in [dsStop, dsError]) then
|
||||||
SetBreak;
|
SetBreak;
|
||||||
|
|
||||||
FSetBreakFlag := false;
|
FSetBreakFlag := false;
|
||||||
|
Loading…
Reference in New Issue
Block a user