Commit 27c8563c authored by hjk's avatar hjk
Browse files

debugger: fix "accumulated" locals and expressions on Mac



Change-Id: I922764db127242f1e392a2cb3906c61ba83c9b64
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent e67e5837
...@@ -1238,6 +1238,9 @@ void GdbEngine::handleStackListLocalsClassic(const GdbResponse &response) ...@@ -1238,6 +1238,9 @@ void GdbEngine::handleStackListLocalsClassic(const GdbResponse &response)
frame.function, frame.file, frame.line, frame.function, frame.file, frame.line,
&uninitializedVariables); &uninitializedVariables);
} }
WatchHandler *handler = watchHandler();
insertData(*handler->findData("local"));
foreach (const GdbMi &item, locals) { foreach (const GdbMi &item, locals) {
const WatchData data = localVariable(item, uninitializedVariables, &seen); const WatchData data = localVariable(item, uninitializedVariables, &seen);
if (data.isValid()) if (data.isValid())
...@@ -1252,7 +1255,7 @@ void GdbEngine::handleStackListLocalsClassic(const GdbResponse &response) ...@@ -1252,7 +1255,7 @@ void GdbEngine::handleStackListLocalsClassic(const GdbResponse &response)
insertData(rd); insertData(rd);
} }
watchHandler()->updateWatchers(); handler->updateWatchers();
} }
static void showQtDumperLibraryWarning(const QString &details) static void showQtDumperLibraryWarning(const QString &details)
......
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