Qt Creator Debugging Helpers

--HG--
branch : release
master
Roman Telezhynskyi 2018-09-01 18:57:14 +03:00
parent 05a5101115
commit 90fcb31fa2
2 changed files with 15 additions and 0 deletions

View File

@ -162,3 +162,5 @@ $RECYCLE.BIN/
# Understand IDE file
*.udb
__pycache__

13
scripts/personaltypes.py Normal file
View 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)