Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
40336401
Commit
40336401
authored
Oct 12, 2010
by
hjk
Browse files
debugger: fix typos in complex watcher handling
Reviewed-by: Friedemann Kleint
parent
ce93a144
Changes
2
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/gdbmacros/dumper.py
View file @
40336401
...
...
@@ -1236,10 +1236,10 @@ class Dumper:
#warn("HANDLING WATCH %s, INAME: '%s'" % (exp, iname))
if
exp
.
startswith
(
"["
)
and
exp
.
endswith
(
"]"
):
#warn("EVAL: EXP: %s" % exp)
with
SubItem
(
d
):
self
.
put
(
'iname="%s",'
,
iname
)
self
.
put
(
'name="%s",'
,
escapedExp
)
self
.
put
(
'exp="%s",'
,
escapedExp
)
with
SubItem
(
self
):
self
.
put
(
'iname="%s",'
%
iname
)
self
.
put
(
'name="%s",'
%
escapedExp
)
self
.
put
(
'exp="%s",'
%
escapedExp
)
try
:
list
=
eval
(
exp
)
self
.
putValue
(
""
)
...
...
tests/manual/gdbdebugger/simple/simple_gdbtest_app.cpp
View file @
40336401
...
...
@@ -305,7 +305,8 @@ void testPeekAndPoke3()
s
[
i
].
a
=
i
;
// Break here. Expand s and s[0]. Step.
// Watcher Context: "Add New Watcher".
// Type ['s[%d].a' % i for i in range(5)]
// Expand it, continue stepping.
// Expand it, continue stepping. This should result in a list
// of five items containing the .a fields of s[0]..s[4].
}
Q_UNUSED
(
s
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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