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 <c...@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@cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev


_______________________________________________
lldb-dev mailing list
lldb-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to