[lldb-dev] SBValue defined vs runtime type
jingham at apple.com
jingham at apple.com
Tue Feb 10 13:18:55 PST 2015
You can call:
my_value.SetPreferDynamicValue(eNoDynamicValues)
before fetching the type or value from an SBValue.
Jim
> On Feb 10, 2015, at 12:35 PM, Carlo Kok <ck at remobjects.com> wrote:
>
> 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
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
More information about the lldb-dev
mailing list