mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 05:39:29 +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;
|
||||
begin
|
||||
if (Debugger.State = dsRun) and assigned(FInternalBreakpoint) then
|
||||
if assigned(Debugger) and (Debugger.State = dsRun) and assigned(FInternalBreakpoint) then
|
||||
begin
|
||||
TFPBreakpoints(Collection).AddBreakpointToDelayedRemoveList(FInternalBreakpoint);
|
||||
FInternalBreakpoint:=nil;
|
||||
|
Loading…
Reference in New Issue
Block a user