![]() |
|
P is for Practical | |
PerlMonks |
Re: Neat Debugger tricks (using the debugger to write tests)by Ovid (Cardinal) |
on Nov 16, 2005 at 19:53 UTC ( [id://509171]=note: print w/replies, xml ) | Need Help?? |
If you really want to learn some awesome debugging tricks, check out this lazy testing presentation. The author explains a bit about how the debugger works internally and then shows how you run tests inside of the debugger and have a new test script written when you're done. It's very impressive. You can also script a debugging session. From perldebug: You can mock TTY input to debugger by adding arbitrary commands to @DB::typeahead. For example, your .perldb file might contain Cheers, New address of my CGI Course.
In Section
Meditations
|
|