[debug][bindings][python] don't build synthetic for null values (KT-41291)
This commit is contained in:
@@ -103,7 +103,10 @@ def kotlin_object_type_summary(lldb_val, internal_dict = {}):
|
|||||||
return NULL
|
return NULL
|
||||||
return lldb_val.GetValueAsSigned()
|
return lldb_val.GetValueAsSigned()
|
||||||
|
|
||||||
|
if lldb_val.unsigned == 0:
|
||||||
|
return NULL
|
||||||
tip = internal_dict["type_info"] if "type_info" in internal_dict.keys() else type_info(lldb_val)
|
tip = internal_dict["type_info"] if "type_info" in internal_dict.keys() else type_info(lldb_val)
|
||||||
|
|
||||||
if not tip:
|
if not tip:
|
||||||
return fallback
|
return fallback
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user