Commit 0ce54ce1 authored by hjk's avatar hjk

Debugger: Guard QObject property extraction against failures

Nowadays, the [property] section contains only "top level" properties,
inherited ones are available through by expanding the base class.

Task-number: QTCREATORBUG-15798
Change-Id: I40475500a2d20f27145a47fa7ed1e61d4a592c10
Reviewed-by: default avatarRobert Loehning <>
Reviewed-by: Christian Stenger's avatarChristian Stenger <>
parent 8a8d4354
......@@ -1460,9 +1460,13 @@ class DumperBase:
propertyCount += 1
self.putValue(str('<%s items>' % propertyCount if propertyCount else '<>0 items>'))
# We need a handle to [x] for the user to expand the item
# before we know whether there are actual children. Counting
# them is too expensive.
self.putSpecialValue("minimumitemcount", 0)
with SubItem(self, "[methods]"):
methodCount = self.staticQObjectMethodCount(smo)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment