pdb - The Parrot debugger
- 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.
You can also debug Parrot code by using the
debug_break ops in ops/debug.ops.
Initial version by Daniel Grunblatt on 2002.5.19.
- 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.
Hey! The above document had some coding errors, which are explained below:
- Around line 174:
- =back without =over