- or . | List previous/current line | s [expr] | single step [in expr]
| v [ln]
| view around ln
| n [expr] | next, steps over subs
| f filename | View source in file | <CR/Enter> Repeat last n or s
| /pattern
?pattern Search forward backward | r | Return from subroutine
| M | Show module versions
|
b [ln|event|sub] [cnd]
| Set breakpoint
| | Data Examination:
| B ln|* | remove Breakpoint
| p expr | prints expr (uses script's current package).
| a [ln] cmd at(before) ln do cmd
| x expr Evals expr in list context, dumps the result
| A ln | * remove actions at ln or all
| m expr Evals expr in list context, lists methods.
| t [expr] | Toggle trace [trace expr]
| S [!]pat List subroutine names [not] matching pat
w expr | add a watch expression
| V Pkge [Vars] List Variables in Pkge Vars can be ~pattern or !pattern.
| W expr | * | remove a/all watch exprs
| X Vars | lists Varables as "V current_package [Vars]".
| L | List break/watch/actions
| y n [Vars] List lexicals in higher scope . Vars same as V.
T | stack trace
| expr Execute perl code, also see:
s expr,
n expr,
t expr
|
![!] syscmd | Run cmd in a subprocess
| | |
| q or ^D | Quit
| R Restart
| | Debugger commands
| o […] | Set debugger options
| <[<]|{[{] [cmd] | Do pre-prompt
| >[>] [cmd]
| Do post-prompt
| ! [N|pat] | Redo a previous command
| H [-n] Display last n commands
| = [a val] | Define/list an alias
| h [dbg_cmd] | Get help on command
| h h | Complete help page
| |[|]dbg_cmd | Send output to pager
| R Restart
Pure-man-restart of debugger,
some of debugger state and command-line options are not preserved.
preserved: history, breakpoints and actions, options and -w, -I, -e.
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
|---|
| | | | | | | |