Commit 56548a13 authored by hjk's avatar hjk Committed by hjk

Debugger: Fix metaObject extraction logic

A variable name mixup, potentially leading to endless loops.

Change-Id: I43f430ec89a8230da665fbfcef8d7f1491b0e2c0
Reviewed-by: Christian Stenger's avatarChristian Stenger <christian.stenger@qt.io>
parent 8366bb16
......@@ -1417,7 +1417,7 @@ class DumperBase:
# warn("METAOBJECT EXTRACTION FAILED FOR UNKNOWN REASON")
if not result:
base = self.directBaseClass(typeobj, 0)
base = self.directBaseClass(someTypeObj, 0)
if base != someTypeObj: # sanity check
result = extractStaticMetaObjectPtrFromType(base)
......
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