Miscellaneous Commands
qand^DThese commands quit the debugger. This is the recommended way to exit, although typing
exittwice sometimes works. Set theinhibit_exitoption to0if you want to be able to step off the end of the program and remain in the debugger anyway. You may also need to set$DB::finishedto0if you want to step through global destruction.
RRestart the debugger by
execing a new session. The debugger tries to maintain your history across sessions, but some internal settings and command-line options may be lost. The following settings are currently preserved: history, breakpoints, actions, debugger options, and the Perl command-line options –w, –I, and –e.
==ALIAS=ALIASVALUEThis command prints out the current value of
ALIASif noVALUEis given. With aVALUE, it defines a new debugger command with the nameALIAS. If bothALIASandVALUEare omitted, all current aliases are listed. For example:= quit qAn
ALIASshould be a simple identifier and should translate to a simple identifier as well. You can do more sophisticated aliasing by adding your own entries to%DB::aliasesdirectly. See the following section, Debugger Customization.manmanMANPAGEThis command calls your system’s default documentation viewer on the given page or on the viewer itself if
MANPAGEis omitted. If that viewer is man, the current%Configinformation is used to invoke it. The “perl” prefix will be automatically supplied for you when necessary; this lets you typeman debugandman opfrom ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access