Commit 0674271f authored by hjk's avatar hjk
Browse files

debugger: make watchers more robust in the presence of \ in the expression

parent 7ccb80aa
......@@ -1231,6 +1231,7 @@ class Dumper:
def handleWatch(self, exp, iname):
exp = str(exp)
escapedExp = exp.replace('"', '\\"')
escapedExp = escapedExp.replace('\', '\\\\')
#warn("HANDLING WATCH %s, INAME: '%s'" % (exp, iname))
if exp.startswith("[") and exp.endswith("]"):
#warn("EVAL: EXP: %s" % exp)
Supports Markdown
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