forked from qt-creator/qt-creator
Debugger: Don't clear unrelated views when updating locals
If the list of partial expressions is empty we need to tell the watch handler that we are only updating the locals view, not e.g. the inspector view. Change-Id: Iedc74ffc66a8435faa272d053849b831f6b8cbbe Task-number: QTCREATORBUG-16692 Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -4493,7 +4493,7 @@ void GdbEngine::doUpdateLocals(const UpdateParameters ¶ms)
|
||||
{
|
||||
m_pendingBreakpointRequests = 0;
|
||||
|
||||
watchHandler()->notifyUpdateStarted(params.partialVariables());
|
||||
watchHandler()->notifyUpdateStarted(params);
|
||||
|
||||
DebuggerCommand cmd("fetchVariables", Discardable|InUpdateLocals|PythonCommand);
|
||||
watchHandler()->appendFormatRequests(&cmd);
|
||||
|
||||
Reference in New Issue
Block a user