Debugger: Add timeout on kill

git-svn-id: trunk@43834 -
This commit is contained in:
martin 2014-01-29 12:45:29 +00:00
parent 00ae9f28bd
commit d5fa90b6d2

View File

@ -2609,7 +2609,7 @@ begin
ExecuteCommand('kill', [cfNoThreadContext], 1500);
FTheDebugger.FCurrentStackFrameValid := False;
FTheDebugger.FCurrentThreadIdValid := False;
Result := ExecuteCommand('info program', [cfNoThreadContext], R);
Result := ExecuteCommand('info program', R, [cfNoThreadContext], 1500);
Result := Result and (Pos('not being run', R.Values) > 0);
if Result
then SetDebuggerState(dsStop);