This is the multithreaded debugger for both PPU and SPU. It is loosely modeled after OllyDbg and implements some of its features.

dbg-gui

Command line

Most of the functionality is exposed through the command line interface.

Each command consists of the command name and an optional list of arguments separated by :.

For example, bp : 0x12b574 sets a PPU breakpoint. Arguments are either numbers (expressions) or strings.

Expressions

There is a simple expression evaluator, that allows referencing registers and do arithmetic. The command p prints its only argument, which is an expression.

The following commands assign the value 15 to the PPU register r1 and then prints the result of an expression that references that register.

put : 15 : r1
p : r1 * r1 + 0x20

The output is 0x2c1.