(lldb) Drucken unsigned long long in hex

Ich versuche zu Debuggen mein Objective-C-Programm, und ich brauche, um meine drucken unsigned long long variable im hex. Ich bin mit der lldb debugger.

Um zu drucken short als hex, Sie können diese:

(lldb) type format add --format hex short
(lldb) print bit
(short) $11 = 0x0000

Aber ich kann nicht damit es funktioniert für 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

Ich bin mit einer iOS-app auf dem simulator, wenn das macht keinen Unterschied.

InformationsquelleAutor Mazyod | 2012-09-19
Schreibe einen Kommentar