Qt Creator Debugging Helpers
--HG-- branch : release
This commit is contained in:
parent
05a5101115
commit
90fcb31fa2
|
@ -162,3 +162,5 @@ $RECYCLE.BIN/
|
||||||
|
|
||||||
# Understand IDE file
|
# Understand IDE file
|
||||||
*.udb
|
*.udb
|
||||||
|
|
||||||
|
__pycache__
|
||||||
|
|
13
scripts/personaltypes.py
Normal file
13
scripts/personaltypes.py
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
from dumper import *
|
||||||
|
|
||||||
|
"""
|
||||||
|
Qt Creator Debugging Helpers
|
||||||
|
"""
|
||||||
|
|
||||||
|
def qdump__VSAPoint(d, value):
|
||||||
|
d.putValue('(%s, %s)' % (value.split('dd')))
|
||||||
|
d.putPlainChildren(value)
|
||||||
|
|
||||||
|
def qdump__PieceNodeAngle(d, value):
|
||||||
|
d.putValue(value.cast(value.type.name).displayEnum())
|
||||||
|
d.putNumChild(0)
|
Loading…
Reference in New Issue
Block a user