mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 05:19:14 +02:00
DBG: Handling unexpected errors.
git-svn-id: trunk@32414 -
This commit is contained in:
parent
3da74a341c
commit
4559a65564
@ -4836,10 +4836,12 @@ begin
|
||||
if (StoppedParams <> '') and (not ContinueExecution) and (DebuggerState = dsRun) and (TargetInfo^.TargetPID <> 0) then begin
|
||||
debugln(['ERROR: Got stop params, but did not change FTheDebugger.state: ', StoppedParams]);
|
||||
//SetDebuggerState(dsError); // we cannot be running anymore
|
||||
SetDebuggerState(dsPause);
|
||||
end;
|
||||
if (StoppedParams = '') and (not ContinueExecution) and (DebuggerState = dsRun) and (TargetInfo^.TargetPID <> 0) then begin
|
||||
debugln(['ERROR: Got NO stop params at all, but was running']);
|
||||
//SetDebuggerState(dsError); // we cannot be running anymore
|
||||
SetDebuggerState(dsPause);
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user