Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
33bdf429
Commit
33bdf429
authored
Dec 09, 2009
by
hjk
Browse files
debugger: fix thinko in time out computation
parent
7a9217e0
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/gdbengine.cpp
View file @
33bdf429
...
...
@@ -194,8 +194,8 @@ GdbEngine::GdbEngine(DebuggerManager *manager) :
m_commandTimer
=
new
QTimer
(
this
);
m_commandTimer
->
setSingleShot
(
true
);
m_commandTimer
->
setInterval
(
1000
*
qM
in
(
20
,
t
heDebuggerAction
(
GdbWatchdogT
ime
o
ut
)
->
value
()
.
toInt
()));
QVariant
timeOut
=
theDebuggerAction
(
GdbWatchdogTimeout
)
->
value
();
m_commandTimer
->
setInterval
(
1000
*
qM
ax
(
20
,
time
O
ut
.
toInt
()));
connect
(
m_commandTimer
,
SIGNAL
(
timeout
()),
SLOT
(
commandTimeout
()));
// Needs no resetting in initializeVariables()
...
...
src/plugins/debugger/gdb/gdboptionspage.ui
View file @
33bdf429
...
...
@@ -97,9 +97,6 @@ on slow machines. In this case the value should be increased.</string>
<property
name=
"layoutDirection"
>
<enum>
Qt::LeftToRight
</enum>
</property>
<property
name=
"specialValueText"
>
<string>
<
unlimited
>
</string>
</property>
<property
name=
"minimum"
>
<number>
20
</number>
</property>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment