mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-10 21:30:35 +02:00
Debugger: Add timeout on kill
git-svn-id: trunk@43834 -
This commit is contained in:
parent
00ae9f28bd
commit
d5fa90b6d2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user