man parrot-debugger (Commandes) - The Parrot debugger
NAME
pdb - The Parrot debugger
SYNOPSIS
pdb programfile
DESCRIPTION
Commands
Disassemble the bytecode. Use this if you have a PBC file but not the PASM. Load a source code file. List the source code file. Run the program. Add a breakpoint. Add a watchpoint. Delete a breakpoint. Disable a breakpoint. Reenable a disabled breakpoint. Continue the program execution. Run the next instruction Run an instruction. Trace the next instruction. Print the interpreter registers. Examine the stack. Print interpreter information. Exit the debugger. Print the help.
Debug Ops
You can also debug Parrot code by using the CWdebug_init, CWdebug_load and CWdebug_break ops in ops/debug.ops.
SEE ALSO
src/debug.c, include/parrot/debug.h.
HISTORY
Initial version by Daniel Grunblatt on 2002.5.19.
TODO
- * Check the user input for bad commands, it's quite easy to make it bang now, try listing the source before loading or disassembling it.
- * Print the interpreter info.
- * Make the user interface better (add comands history/completion).
- * Some other things I don't remember now because it's late.