Commit b33b5e52 authored by hjk's avatar hjk
Browse files

debugger: escape backslashs properly

Reviewed-by: Friedemann Kleint
parent 218d2527
......@@ -1231,7 +1231,7 @@ class Dumper:
def handleWatch(self, exp, iname):
exp = str(exp)
escapedExp = exp.replace('"', '\\"')
escapedExp = escapedExp.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