A.2. Commands

A.2.1. Help

h
h h

Get a verbose or concise help screen, respectively.[1]

[1] It would be more accurate to say, a concise help screen and an extremely concise help screen, respectively.

h command
					

Get a line of help for the given debugger command.

man page
					

View the specified manual page. If your system doesn't have a man command, it uses perldoc; the command may be overridden by setting the variable $DB::doccmd.

A.2.2. Stopping or Restarting

q
R

The q command exits the debugger (so does end-of-file on the terminal). The R command attempts to rerun the program with the state changes you made preserved. Some state may be lost; breakpoints, history, actions, option settings, and the -w, -I and -e command-line options will be preserved. ...

Get Perl Debugged now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.