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
ce917a31
Commit
ce917a31
authored
Sep 07, 2010
by
hjk
Browse files
debugger: make dumpers more robust for accidentally passed literals as tooltips
parent
52478c95
Changes
1
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/gdbmacros/dumper.py
View file @
ce917a31
...
...
@@ -1053,6 +1053,7 @@ class Dumper:
#warn("NAMESPACE: '%s'" % self.ns)
#warn("VARIABLES: %s" % varList)
#warn("EXPANDED INAMES: %s" % self.expandedINames)
#warn("WATCHERS: %s" % watchers)
module
=
sys
.
modules
[
__name__
]
#
...
...
@@ -1228,7 +1229,11 @@ class Dumper:
self
.
putAddress
(
value
.
address
)
self
.
putItemHelper
(
item
)
except
RuntimeError
:
pass
self
.
currentType
=
" "
self
.
currentValue
=
"<no such value>"
self
.
currentChildNumChild
=
-
1
self
.
currentNumChilds
=
0
self
.
putNumChild
(
0
)
def
put
(
self
,
value
):
...
...
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