Commit 87c8772d authored by hjk's avatar hjk

Debugger: Fix red display of changed variables with LLDB

That was a recent regression: All values were red ("changed").

Change-Id: Ib77c1aefa978832aad58b06eb73778a5654998bb
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent ba947fbb
......@@ -868,13 +868,14 @@ void LldbEngine::assignValueInDebugger(WatchItem *,
void LldbEngine::updateWatchItem(WatchItem *)
{
updateLocals();
doUpdateLocals(UpdateParameters());
}
void LldbEngine::updateLocals()
{
UpdateParameters params;
doUpdateLocals(params);
watchHandler()->resetValueCache();
watchHandler()->notifyUpdateStarted();
doUpdateLocals(UpdateParameters());
}
void LldbEngine::doUpdateLocals(UpdateParameters params)
......@@ -923,7 +924,6 @@ void LldbEngine::doUpdateLocals(UpdateParameters params)
m_lastDebuggableCommand = cmd;
m_lastDebuggableCommand.args.replace("\"passexceptions\":0", "\"passexceptions\":1");
watchHandler()->notifyUpdateStarted();
runCommand(cmd);
reloadRegisters();
......
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