Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
qt-creator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tobias Hunger
qt-creator
Commits
a1f2638c
Commit
a1f2638c
authored
Aug 17, 2010
by
hjk
Browse files
Options
Downloads
Patches
Plain Diff
debugger: fix display of arrays of types that gdb forgot about
parent
d1f0c171
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
share/qtcreator/gdbmacros/dumper.py
+6
-3
6 additions, 3 deletions
share/qtcreator/gdbmacros/dumper.py
with
6 additions
and
3 deletions
share/qtcreator/gdbmacros/dumper.py
+
6
−
3
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
sign in
to comment