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
acf1e49d
Commit
acf1e49d
authored
May 12, 2010
by
hjk
Browse files
debugger: make QString "displayable" in a QTextEdit
parent
4243b562
Changes
1
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/gdbmacros/gdbmacros.py
View file @
acf1e49d
...
...
@@ -1404,6 +1404,14 @@ def qdump__QStack(d, item):
def
qdump__QString
(
d
,
item
):
d
.
putStringValue
(
item
.
value
)
d
.
putNumChild
(
0
)
d
.
putField
(
"typeformats"
,
"Normal,Displayed"
);
format
=
d
.
itemFormat
(
item
)
if
format
==
0
:
d
.
putDisplay
(
StopDisplay
)
elif
format
==
1
:
d
.
putField
(
"editformat"
,
2
)
str
=
encodeString
(
item
.
value
)
d
.
putField
(
"editvalue"
,
str
)
def
qdump__QStringList
(
d
,
item
):
...
...
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