mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 13:00:17 +02:00
Debugger: reset breakpoint state (unknown, valid, invalid) after debugger stops. Issue #39505
(cherry picked from commit d962ac2a85
)
This commit is contained in:
parent
6ef5f0729f
commit
9beff229c7
@ -3947,6 +3947,8 @@ end;
|
|||||||
procedure TDBGBreakPoint.DoStateChange(const AOldState: TDBGState);
|
procedure TDBGBreakPoint.DoStateChange(const AOldState: TDBGState);
|
||||||
begin
|
begin
|
||||||
if Debugger.State <> dsStop then Exit;
|
if Debugger.State <> dsStop then Exit;
|
||||||
|
SetValid(vsUnknown);
|
||||||
|
|
||||||
if not (AOldState in [dsIdle, dsNone]) then Exit;
|
if not (AOldState in [dsIdle, dsNone]) then Exit;
|
||||||
|
|
||||||
BeginUpdate;
|
BeginUpdate;
|
||||||
|
Loading…
Reference in New Issue
Block a user