Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
0674271f
Commit
0674271f
authored
Sep 27, 2010
by
hjk
Browse files
debugger: make watchers more robust in the presence of \ in the expression
parent
7ccb80aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/gdbmacros/dumper.py
View file @
0674271f
...
...
@@ -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)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment