Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
40e4837d
Commit
40e4837d
authored
Jan 12, 2010
by
hjk
Browse files
debugger: add debug message for non-critical timeouts
parent
9c43c891
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/gdbengine.cpp
View file @
40e4837d
...
...
@@ -841,7 +841,11 @@ void GdbEngine::commandTimeout()
const
GdbCommand
&
cmd
=
m_cookieForToken
.
value
(
key
);
if
(
!
(
cmd
.
flags
&
NonCriticalResponse
))
killIt
=
true
;
debugMessage
(
_
(
" %1: %2 => %3"
).
arg
(
key
).
arg
(
_
(
cmd
.
command
)).
arg
(
_
(
cmd
.
callbackName
)));
QByteArray
msg
=
QByteArray
::
number
(
key
);
msg
+=
": "
+
cmd
.
command
+
" => "
;
QTC_ASSERT
(
cmd
.
callbackName
,
/**/
);
msg
+=
cmd
.
callbackName
;
debugMessage
(
_
(
msg
));
}
if
(
killIt
)
{
debugMessage
(
_
(
"TIMED OUT WAITING FOR GDB REPLY. COMMANDS STILL IN PROGRESS:"
));
...
...
@@ -865,6 +869,8 @@ void GdbEngine::commandTimeout()
}
else
{
debugMessage
(
_
(
"CONTINUE DEBUGGER AS REQUESTED BY USER"
));
}
}
else
{
debugMessage
(
_
(
"
\n
NON-CRITICAL TIMEOUT
\n
"
));
}
}
...
...
@@ -4495,6 +4501,8 @@ bool GdbEngine::startGdb(const QStringList &args, const QString &gdb, const QStr
postCommand
(
"set breakpoint pending on"
);
postCommand
(
"set print elements 10000"
);
// Produces a few messages during symtab loading
//postCommand("set verbose on");
//postCommand("set substitute-path /var/tmp/qt-x11-src-4.5.0 "
// "/home/sandbox/qtsdk-2009.01/qt");
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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