void SetDebug()

Halts the game execution and starts the game debugger. From there, you can step through the execution of your game and inspect memory. The following keys are available in Sierra's debugger:

q quit
b set breakpoint
a inspect ID in accumulator
c inspect current object
i inspect object or memory
f show free heap
s show sends
r show resource types
o show objects in heap
O show objects w/ addresses
S show stack usage
g edit global var
l edit local var
t edit temp var
Enter single step
Tab step across send

See Also: InspectObj, ShowSends, ShowObjs, ShowFree, StackUsage, MemoryInfo