[lldb-dev] SBValue defined vs runtime type

Carlo Kok ck at remobjects.com
Tue Feb 10 12:35:48 PST 2015


Since a while ago SBValue now returns the real type (The instance) of a 
value instead of the defined type (ie:

NSObject* val = [[MyObject alloc]init];

returns MyObject *   instead of NSObject *

I like this but would also like to know the defined type (NSObject*). 
How can I get this? (either via SBValue or ValueObject)?

-- 
Carlo Kok
RemObjects Software



More information about the lldb-dev mailing list