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
6982f8b1
Commit
6982f8b1
authored
Jun 11, 2010
by
hjk
Browse files
debugger: "compile fix" for watchers part of python dumping after recent
refactoring
parent
f232cd4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/gdbmacros/dumper.py
View file @
6982f8b1
...
...
@@ -1002,7 +1002,7 @@ class Dumper:
if
len
(
watchers
)
>
0
:
for
watcher
in
watchers
.
split
(
"##"
):
(
exp
,
iname
)
=
watcher
.
split
(
"#"
)
handleWatch
(
self
,
exp
,
iname
)
self
.
handleWatch
(
exp
,
iname
)
#
# Breakpoints
...
...
@@ -1032,7 +1032,7 @@ class Dumper:
with
Children
(
self
,
len
(
list
)):
itemNumber
=
0
for
item
in
list
:
handleWatch
(
self
,
item
,
"%s.%d"
%
(
iname
,
itemNumber
))
self
.
handleWatch
(
item
,
"%s.%d"
%
(
iname
,
itemNumber
))
itemNumber
+=
1
except
RuntimeError
,
error
:
warn
(
"EVAL: ERROR CAUGHT %s"
%
error
)
...
...
@@ -1043,7 +1043,7 @@ class Dumper:
pass
return
with
SubItem
(
d
):
with
SubItem
(
self
):
self
.
putField
(
"iname"
,
iname
)
self
.
putField
(
"name"
,
escapedExp
)
self
.
putField
(
"exp"
,
escapedExp
)
...
...
Write
Preview
Supports
Markdown
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