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
cc3df924
Commit
cc3df924
authored
Jul 14, 2010
by
hjk
Browse files
debugger: reduce noise created by debugging messages
parent
0d8c1d7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/debuggerengine.cpp
View file @
cc3df924
...
...
@@ -658,8 +658,8 @@ void DebuggerEngine::setRegisterValue(int regnr, const QString &value)
void
DebuggerEngine
::
showMessage
(
const
QString
&
msg
,
int
channel
,
int
timeout
)
const
{
if
(
msg
.
size
()
&&
msg
.
at
(
0
).
isUpper
()
&&
msg
.
at
(
1
).
isUpper
())
qDebug
()
<<
qPrintable
(
msg
)
<<
"IN STATE"
<<
state
();
//
if (msg.size() && msg.at(0).isUpper() && msg.at(1).isUpper())
//
qDebug() << qPrintable(msg) << "IN STATE" << state();
d
->
m_runControl
->
showMessage
(
msg
,
channel
);
plugin
()
->
showMessage
(
msg
,
channel
,
timeout
);
}
...
...
@@ -1090,7 +1090,6 @@ void DebuggerEngine::notifyInferiorUnrunnable()
void
DebuggerEngine
::
notifyEngineRunFailed
()
{
showMessage
(
_
(
"NOTE: ENGINE RUN FAILED"
));
SDEBUG
(
Q_FUNC_INFO
);
QTC_ASSERT
(
state
()
==
EngineRunRequested
,
qDebug
()
<<
state
());
setState
(
EngineRunFailed
);
d
->
queueShutdownInferior
();
...
...
@@ -1303,7 +1302,6 @@ void DebuggerEngine::notifyInferiorExited()
void
DebuggerEngine
::
setState
(
DebuggerState
state
,
bool
forced
)
{
SDEBUG
(
Q_FUNC_INFO
);
//qDebug() << "STATUS CHANGE: FROM " << stateName(d->m_state)
// << " TO " << stateName(state);
...
...
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