
Devel::PDB - A simple Curses-based Perl Debugger

perl -d:PDB foo.pl

PerlDeBugger is a Curses-based Perl debugger with most of the essential functions such as monitoring windows for paddlist, call stack, custom watch expressions, etc. Suitable for debugging or tracing complicated Perl applications on the spot.
| File Help |
| a.pl:5 ---------------------------------------------------------------------- |
| | use Devel::PDB; | |
| | #!/usr/bin/perl | |
| | | |
| | | |
| | my $a = test(); | |
| | print "$a\n"; | |
| | | |
| | sub test { | |
| | my $hey = 10; | |
| | my $guys_this_is_long = 20; | |
| | test2(); | |
| | 2; | |
| | } | |
| | | |
| | sub test2 { | |
| ------------------------------------------------------------------------------ |
| Auto -------------------------------- Watch ------------------------------- |
| |$a undef ||- no values - | |
| | || | |
| | || | |
| | || | |
| -------------------------------------- -------------------------------------- |
PerlDeBugger is still in development stage, not all of the planed functions have been implemented yet. Currently it can:
TODO (sorted by priority):
Switch to the Source Code Window
Switch to the Lexical Variable Window
Switch to the Watch Window
Continue execution
Step Out
Step In
Step Over
Toggle Breakpoint
Show 'Compiled Files' Dialog
Show 'Opened Files' Dialog
Quit the debugger
Add watch expression
Move the cursor
If you use VI, you will know
Search using a RegEx in the current opened file
Search Next
Search Previous
Goto a specific line


Ivan Yat-Cheung Wong <email@ivanwong.info>

Copyright (C) 2007 by Ivan Y.C. Wong
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.