mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 00:30:25 +02:00
Fixed reseting debugger, after changing gdb.exe in options / broken since rev 28296 #e6503c5b71
git-svn-id: trunk@28329 -
This commit is contained in:
parent
262ea643fe
commit
f670a86cec
@ -2478,6 +2478,7 @@ begin
|
||||
then begin
|
||||
// the current debugger is the wrong type -> free it
|
||||
FreeDebugger;
|
||||
FIsInitializingDebugger:= True; // been reset by FreeDebuger
|
||||
end;
|
||||
|
||||
// create debugger object
|
||||
@ -2761,6 +2762,7 @@ end;
|
||||
|
||||
procedure TDebugManager.EndDebugging;
|
||||
begin
|
||||
FRunTimer.Enabled:=false;
|
||||
Exclude(FManagerStates,dmsWaitForRun);
|
||||
if FDebugger <> nil then FDebugger.Done;
|
||||
// if not already freed
|
||||
|
Loading…
Reference in New Issue
Block a user