Hello Eduard,
For debug purpose , you can try this :
Set obj = {Your test.ABC instance}
Set res = ##class(%Studio.General).DumpObjectFunc(obj)
While res.%Next() { Write !,"Property : ",res.%Get("Name"), !," Value : ",res.%Get("Value") }Or just perform a zw obj
Regards.
Lorenzo.
EDIT : I tested with ##class(%Studio.General).DumpObjectFunc(obj).
We can get value if "myProp" is not an object.
- Log in to post comments