-
-
Notifications
You must be signed in to change notification settings - Fork 22
Debug Templates
ksherlock edited this page Jan 7, 2015
·
2 revisions
The debugger (--debugger
) has experimental template support. Templates dump memory in a more structured (and hopefully useful) manner than just a hex dump.
The {MPW}Templates.text
contains templates, which are automatically loaded when the debugger starts up. The format is basically a subset of C struct
s and typedef
s. Builtin types include: int
, long
, short
, char
, void *
, int64_t
, uint64_t
, int32_t
, uint32_t
, int16_t
, uint16_t
, int8_t
, uint8_t
, StringPtr
, CStringPtr
, Ptr
, OSType
, OSErr
, Boolean
, and Handle
. signed
, unsigned
, and volatile
qualifiers are also allowed.
typedef
s may rename a type but cannot currently be used for arrays or pointers.
expr;t templatename