Debugger: a bit reduced debugln-output.

git-svn-id: trunk@28216 -
This commit is contained in:
martin 2010-11-14 18:12:01 +00:00
parent 2be63ddc61
commit 21aade180b

View File

@ -6423,11 +6423,11 @@ begin
then FTheDebugger.ProcessStopped(StoppedParams, FTheDebugger.PauseWaitState = pwsInternal);
{$IFDEF DBG_VERBOSE}
if (StoppedParams <> '') and (FTheDebugger.State = dsRun) and (FTheDebugger.FTargetPID <> 0) and (left(FCommand,1,5)='-exec') then begin
if (StoppedParams <> '') and (FTheDebugger.State = dsRun) and (FTheDebugger.FTargetPID <> 0) and (copy(FCommand,1,5)='-exec') then begin
debugln(['ERROR: Got stop params, but did not chnage FTheDebugger.state: ', StoppedParams]);
//FTheDebugger.SetState(dsError); // we cannot be running anymore
end;
if (StoppedParams = '') and (FTheDebugger.State = dsRun) and (FTheDebugger.FTargetPID <> 0) and (left(FCommand,1,5)='-exec') then begin
if (StoppedParams = '') and (FTheDebugger.State = dsRun) and (FTheDebugger.FTargetPID <> 0) and (copy(FCommand,1,5)='-exec') then begin
debugln(['ERROR: Got NO stop params at all, but was running']);
//FTheDebugger.SetState(dsError); // we cannot be running anymore
end;