Debugger scripts

Ovid on 2007-07-16T07:36:16

OK, I've complained about this before, but I (or someone else) really, really needs to write this for collaborative endeavors.

  1. perldebug some_code -o replay_bug.pdb
  2. b 109
  3. c
  4. s
  5. b _runtest
  6. n
  7. n
  8. n
  9. x $self->_get_parser_args($test)
  10. n
  11. x $self
  12. q

You then attach replay_bug.pdb and email it to your collaborator or to P5P or something and they do this:

  1. perldebug < replay_bug.pdb

At that point, I would want it to recognize whatever's in the replay file, run any commands and create diffs of the output for developers to analyze.

The replay file should contain all debugger commands run (including support for Devel::ebug?), and STDOUT and STDERR.