Commit 66bffd3d authored by hjk's avatar hjk
Browse files

debugger: move the "SOMETHING NEEDED" message from console to log

parent 0d3ca6da
...@@ -1261,7 +1261,8 @@ void WatchHandler::insertData(const WatchData &data) ...@@ -1261,7 +1261,8 @@ void WatchHandler::insertData(const WatchData &data)
if (!m_engine->isSynchronous()) { if (!m_engine->isSynchronous()) {
m_engine->updateWatchData(data); m_engine->updateWatchData(data);
} else { } else {
qDebug() << "ENDLESS LOOP: SOMETHING NEEDED: " << data.toString(); m_engine->showMessage(QLatin1String("ENDLESS LOOP: SOMETHING NEEDED: ")
+ data.toString());
WatchData data1 = data; WatchData data1 = data;
data1.setAllUnneeded(); data1.setAllUnneeded();
data1.setValue(QLatin1String("<unavailable synchronous data>")); data1.setValue(QLatin1String("<unavailable synchronous data>"));
...@@ -1720,5 +1721,6 @@ void WatchHandler::removeTooltip() ...@@ -1720,5 +1721,6 @@ void WatchHandler::removeTooltip()
m_tooltips->reinitialize(); m_tooltips->reinitialize();
m_tooltips->emitAllChanged(); m_tooltips->emitAllChanged();
} }
} // namespace Internal } // namespace Internal
} // namespace Debugger } // namespace Debugger
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment