Skip to content
GitLab
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
faa38be8
Commit
faa38be8
authored
Aug 13, 2010
by
Friedemann Kleint
Browse files
Debugger[Python]: Deactivate QObject-Properties temporarily
due to it causing Windows gdb to crash. Reviewed-by: hjk
parent
ceca9d9d
Changes
2
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/gdbmacros/dumper.py
View file @
faa38be8
...
...
@@ -1327,11 +1327,7 @@ class Dumper:
typedefStrippedType
).
replace
(
"::"
,
"__"
)
# Is this derived from QObject?
try
:
item
.
value
[
'staticMetaObject'
]
hasMetaObject
=
True
except
:
hasMetaObject
=
False
hasMetaObject
=
False
#warn(" STRIPPED: %s" % nsStrippedType)
#warn(" DUMPERS: %s" % self.dumpers)
...
...
@@ -1343,10 +1339,6 @@ class Dumper:
self
.
putValue
(
value
)
self
.
putNumChild
(
0
)
elif
hasMetaObject
and
self
.
useFancy
:
self
.
putType
(
item
.
value
.
type
)
qdump__QObject
(
self
,
item
)
elif
nsStrippedType
in
self
.
dumpers
:
#warn("IS DUMPABLE: %s " % type)
self
.
putType
(
item
.
value
.
type
)
...
...
share/qtcreator/gdbmacros/gdbmacros.py
View file @
faa38be8
...
...
@@ -614,7 +614,6 @@ def qdump__QObject(d, item):
d
.
putNumChild
(
4
)
if
d
.
isExpanded
(
item
):
with
Children
(
d
):
d
.
putFields
(
item
)
# Parent and children.
d
.
putItem
(
Item
(
d_ptr
[
"parent"
],
item
.
iname
,
"parent"
,
"parent"
))
d
.
putItem
(
Item
(
d_ptr
[
"children"
],
item
.
iname
,
"children"
,
"children"
))
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment