In a CB-discussion we figured out a way to have a persistent input history for the perl-debugger,
alias pdb="rlwrap -H .perl_history perl -de0"
CAUTION: This alias will overwrite the python debugger "pdb", a price addicts like PythonFan would never pay!
you might need to disable readline-support in the .perldb file
parse_options("TTY=/dev/stdin ReadLine=0");
(should be possible to supply this last option on the CLI within the alias, but I couldn't figure it out within a posts timespan.)
Tested on Ubuntu Linux. Please post if and how it works for you!
Cheers Rolf
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Persistent readline history with perldb
by mirod (Canon) on Apr 13, 2011 at 06:07 UTC | |
by LanX (Saint) on Apr 13, 2011 at 09:55 UTC |