forked from qt-creator/qt-creator
Debugger: Fix timeout handling
Task-number: QTCREATORBUG-21664 Change-Id: Ie6dec329443e9fa8e31e28f0fdd6d46a279804bb Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -806,7 +806,7 @@ void GdbEngine::runCommand(const DebuggerCommand &command)
|
|||||||
int GdbEngine::commandTimeoutTime() const
|
int GdbEngine::commandTimeoutTime() const
|
||||||
{
|
{
|
||||||
int time = action(GdbWatchdogTimeout)->value().toInt();
|
int time = action(GdbWatchdogTimeout)->value().toInt();
|
||||||
return 1000 * qMax(40, time);
|
return 1000 * qMax(20, time);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GdbEngine::commandTimeout()
|
void GdbEngine::commandTimeout()
|
||||||
|
Reference in New Issue
Block a user