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
d7704881
Commit
d7704881
authored
May 20, 2010
by
hjk
Browse files
debugger: add dumper for QHostAddress
parent
dd714e9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/gdbmacros/gdbmacros.py
View file @
d7704881
...
...
@@ -366,6 +366,15 @@ def qdump__QHashNode(d, item):
d
.
putItemHelper
(
Item
(
value
,
item
.
iname
,
"value"
))
def
qdump__QHostAddress
(
d
,
item
):
data
=
item
.
value
[
"d"
][
"d"
].
dereference
()
d
.
putStringValue
(
data
[
"ipString"
])
d
.
putNumChild
(
1
)
if
d
.
isExpanded
(
item
):
with
Children
(
d
):
d
.
putFields
(
Item
(
data
,
item
.
iname
))
def
qdump__QList
(
d
,
item
):
d_ptr
=
item
.
value
[
"d"
]
begin
=
d_ptr
[
"begin"
]
...
...
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