Commit ce917a31 authored by hjk's avatar hjk
Browse files

debugger: make dumpers more robust for accidentally passed literals as tooltips

parent 52478c95
......@@ -1053,6 +1053,7 @@ class Dumper:
#warn("NAMESPACE: '%s'" % self.ns)
#warn("VARIABLES: %s" % varList)
#warn("EXPANDED INAMES: %s" % self.expandedINames)
#warn("WATCHERS: %s" % watchers)
module = sys.modules[__name__]
#
......@@ -1228,7 +1229,11 @@ class Dumper:
self.putAddress(value.address)
self.putItemHelper(item)
except RuntimeError:
pass
self.currentType = " "
self.currentValue = "<no such value>"
self.currentChildNumChild = -1
self.currentNumChilds = 0
self.putNumChild(0)
def put(self, value):
......
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