DBG: added framework for handling timeout (not active by default)

git-svn-id: trunk@28495 -
This commit is contained in:
martin 2010-11-26 10:25:14 +00:00
parent 03709534ab
commit 07c762d4a0

View File

@ -8169,7 +8169,7 @@ function TGDBMIDebuggerCommand.GetText(const AExpression: String;
var var
R: TGDBMIExecResult; R: TGDBMIExecResult;
begin begin
if not ExecuteCommand('x/s ' + AExpression, AValues, R {$IFDEF DBG_WIT_TIMEOUT}, 2500{$ENDIF}) if not ExecuteCommand('x/s ' + AExpression, AValues, R {$IFDEF DBG_WITH_TIMEOUT}, 2500{$ENDIF})
then begin then begin
Result := ''; Result := '';
Exit; Exit;