mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 20:21:04 +02:00
FpDebugger (pure): Solved AV when the debuggee already has been stopped when a breakpoint is freed.
git-svn-id: trunk@45935 -
This commit is contained in:
parent
70300be121
commit
fef936b68e
@ -573,7 +573,7 @@ end;
|
|||||||
|
|
||||||
destructor TFPBreakpoint.Destroy;
|
destructor TFPBreakpoint.Destroy;
|
||||||
begin
|
begin
|
||||||
if (Debugger.State = dsRun) and assigned(FInternalBreakpoint) then
|
if assigned(Debugger) and (Debugger.State = dsRun) and assigned(FInternalBreakpoint) then
|
||||||
begin
|
begin
|
||||||
TFPBreakpoints(Collection).AddBreakpointToDelayedRemoveList(FInternalBreakpoint);
|
TFPBreakpoints(Collection).AddBreakpointToDelayedRemoveList(FInternalBreakpoint);
|
||||||
FInternalBreakpoint:=nil;
|
FInternalBreakpoint:=nil;
|
||||||
|
Loading…
Reference in New Issue
Block a user