Commit baa955d5 authored by hjk's avatar hjk

debugger: make python frame output 'Discardable'

parent 11a300dd
......@@ -411,11 +411,6 @@ class FrameCommand(gdb.Command):
+ 'watchers={iname="watch",name="Watchers",value=" ",type=" ",'
+ 'children=[' + watchers + ']}\n')
warn('OUTPUT: locals={iname="local",name="Locals",value=" ",type=" ",'
+ 'children=[' + locals + ']},'
+ 'watchers={iname="watch",name="Watchers",value=" ",type=" ",'
+ 'children=[' + watchers + ']}')
def handleWatch(self, d, exp, name):
#warn("HANDLING WATCH %s, NAME: %s" % (exp, name))
......
......@@ -3180,7 +3180,8 @@ void GdbEngine::updateSubItem(const WatchData &data0)
if (data.isHasChildrenNeeded()) {
QTC_ASSERT(!data.variable.isEmpty(), return); // tested above
QString cmd = _("-var-list-children --all-values \"") + data.variable + _c('"');
postCommand(cmd, Discardable, CB(handleVarListChildren), QVariant::fromValue(data));
postCommand(cmd, Discardable,
CB(handleVarListChildren), QVariant::fromValue(data));
return;
}
......@@ -3632,6 +3633,7 @@ void GdbEngine::updateLocals(const QVariant &cookie)
.arg(options)
.arg(expanded.join(_(",")))
.arg(_(watchers.toLatin1().toHex())),
Discardable,
CB(handleStackFrame));
} else {
m_processedNames.clear();
......
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