Fixed reseting debugger, after changing gdb.exe in options / broken since rev 28296 #e6503c5b71

git-svn-id: trunk@28329 -
This commit is contained in:
martin 2010-11-18 21:19:39 +00:00
parent 262ea643fe
commit f670a86cec

View File

@ -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