mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-10 23:28:41 +02:00
Debugger: Avoid error state, if GDB is killed.
git-svn-id: trunk@43838 -
This commit is contained in:
parent
07f72b88d4
commit
2f5726fd2f
@ -2613,8 +2613,9 @@ begin
|
||||
// the outer Processrunning should stop, due to process no longer running
|
||||
FDidKillNow := True;
|
||||
FTheDebugger.TerminateGDB;
|
||||
FTheDebugger.FNeedReset:= True;
|
||||
SetDebuggerState(dsStop);
|
||||
FTheDebugger.CancelAllQueued; // stop queued new cmd
|
||||
//FTheDebugger.CancelAllQueued; // stop queued new cmd
|
||||
Result := True;
|
||||
exit;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user