forked from qt-creator/qt-creator
debugger: fix reporting of "no locals"
This commit is contained in:
@@ -436,7 +436,11 @@ class FrameCommand(gdb.Command):
|
||||
d.pushOutput()
|
||||
watchers = d.safeoutput
|
||||
|
||||
print('data=[' + locals + ',' + watchers + ']\n')
|
||||
sep = ""
|
||||
if len(locals) and len(watchers):
|
||||
sep = ","
|
||||
|
||||
print('data=[' + locals + sep + watchers + ']\n')
|
||||
|
||||
|
||||
def handleWatch(self, d, exp, iname):
|
||||
|
||||
Reference in New Issue
Block a user