[lldb-dev] How can I print a register value as NSString

Greg Clayton gclayton at apple.com
Thu Jan 2 11:14:09 PST 2014


Yes, it is possible. In the expression parser, all registers are available if you prepend the register name with '$'. So as Enrico already suggested, you can do:

(lldb) expr (NSString *)$rdx

On Nov 28, 2013, at 2:43 PM, Vincent R. <forumer at smartmobili.com> wrote:

> Hi,
> 
> I am using xcode5 to debug an application and I would like to know the NSstring value stored inside the %rdx register.
> Is it possible to do that ?
> 
> Thanks
> _______________________________________________
> 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