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
163705b8
Commit
163705b8
authored
Apr 14, 2009
by
hjk
Browse files
debugger: less debug output in cases we know what's missing
parent
73a2dc6f
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdbengine.cpp
View file @
163705b8
...
...
@@ -1870,8 +1870,21 @@ void GdbEngine::jumpToLineExec(const QString &fileName, int lineNumber)
void
GdbEngine
::
setTokenBarrier
()
{
foreach
(
const
GdbCookie
&
ck
,
m_cookieForToken
)
QTC_ASSERT
(
ck
.
synchronized
||
ck
.
type
==
GdbInvalidCommand
,
return
);
foreach
(
const
GdbCookie
&
cookie
,
m_cookieForToken
)
{
QTC_ASSERT
(
cookie
.
synchronized
||
cookie
.
type
==
GdbInvalidCommand
// FIXME: use something like "command classes" for these cases:
||
cookie
.
type
==
GdbInfoProc
||
cookie
.
type
==
GdbStubAttached
||
cookie
.
type
==
ModulesList
||
cookie
.
type
==
WatchDebuggingHelperSetup
||
cookie
.
type
==
GdbQueryDebuggingHelper
,
qDebug
()
<<
"CMD: "
<<
cookie
.
command
<<
"TYPE: "
<<
cookie
.
type
<<
"SYNC: "
<<
cookie
.
synchronized
;
return
);
}
PENDING_DEBUG
(
"
\n
--- token barrier ---
\n
"
);
emit
gdbInputAvailable
(
QString
(),
"--- token barrier ---"
);
m_oldestAcceptableToken
=
currentToken
();
...
...
tests/auto/debugger/main.cpp
View file @
163705b8
...
...
@@ -142,6 +142,7 @@ int main(int argc, char *argv[])
if
(
args
.
size
()
==
2
&&
args
.
at
(
1
)
==
"--run-debuggee"
)
{
runDebuggee
();
app
.
exec
();
return
0
;
}
...
...
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