LazDebuggerFp (pure): do not crash range check

git-svn-id: trunk@44637 -
This commit is contained in:
martin 2014-04-07 17:10:36 +00:00
parent 3937a88b0f
commit c5160e7364

View File

@ -199,7 +199,9 @@ end;
procedure TFpDebugDebugger.FDbgControllerProcessExitEvent(AExitCode: DWord);
begin
SetExitCode(Integer(AExitCode));
{$PUSH}{$R-}
DoDbgEvent(ecProcess, etProcessExit, Format('Process exited with exit-code %d',[AExitCode]));
{$POP}
FreeDebugThread;
SetState(dsStop);
end;