KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am trying to debug my Objective-C program, and I need to print my unsigned long long variable in hex. I am using the lldb debugger. In order to print short as hex, you can use this : (lldb) type format add --format hex short (lldb) print bit (short) $11 = 0x0000 However, I can't make it work for unsigned long long . // failed attempts: (lldb) type format add --format hex (unsigned long long) (lldb) type format add --format hex unsigned long long (lldb) type format add --format hex unsigned decimal (lldb) type format add --format hex long long (lldb) type format add --format hex long (lldb) type format add --format hex int I am running an iOS app on simulator, if that makes any difference.
Tags (comma-separated)
Save Edits
Cancel