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
Tobias Hunger
qt-creator
Commits
a1f2638c
Commit
a1f2638c
authored
Aug 17, 2010
by
hjk
Browse files
debugger: fix display of arrays of types that gdb forgot about
parent
d1f0c171
Changes
1
Show whitespace changes
Inline
Side-by-side
share/qtcreator/gdbmacros/dumper.py
View file @
a1f2638c
...
...
@@ -117,11 +117,14 @@ def lookupType(typestring):
#warn("LOOKING UP '%s'" % ts)
type
=
gdb
.
lookup_type
(
ts
)
except
RuntimeError
,
error
:
# Can throw "RuntimeError: No type named class Foo."
# See http://sourceware.org/bugzilla/show_bug.cgi?id=11912
#warn("LOOKING UP '%s': %s" % (ts, error))
# See http://sourceware.org/bugzilla/show_bug.cgi?id=11912
exp
=
"(class '%s'*)0"
%
ts
try
:
type
=
parseAndEvaluate
(
exp
).
type
.
target
()
except
:
# Can throw "RuntimeError: No type named class Foo."
pass
except
:
#warn("LOOKING UP '%s' FAILED" % ts)
pass
...
...
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