diff options
author | Gisle Aas <gisle@aas.no> | 2005-04-05 18:49:54 -0700 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-04-07 09:38:06 +0000 |
commit | 2e8f3c35926871095feda1ba18dbe8ffc40a0273 (patch) | |
tree | fd57dd11586ca556143196053c2f3b565131a5c5 /pod/perldebug.pod | |
parent | dac1f1fe0dd5eb8f618f519e80676d07ef849ad0 (diff) | |
download | perl-2e8f3c35926871095feda1ba18dbe8ffc40a0273.tar.gz |
perldbtty$$ location
Message-ID: <lr3bu48f2l.fsf@caliper.activestate.com>
(and remove trailing whitespace)
p4raw-id: //depot/perl@24190
Diffstat (limited to 'pod/perldebug.pod')
-rw-r--r-- | pod/perldebug.pod | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/pod/perldebug.pod b/pod/perldebug.pod index 69346524ad..9a8d02fa26 100644 --- a/pod/perldebug.pod +++ b/pod/perldebug.pod @@ -105,7 +105,7 @@ temporarily set to I<N>. =item V [pkg [vars]] -Display all (or some) variables in package (defaulting to C<main>) +Display all (or some) variables in package (defaulting to C<main>) using a data pretty-printer (hashes show their keys and values so you see what's what, control characters are made printable, etc.). Make sure you don't put the type specifier (like C<$>) there, just @@ -199,7 +199,7 @@ executed, and print out that line. =item f filename Switch to viewing a different file or C<eval> statement. If I<filename> -is not a full pathname found in the values of %INC, it is considered +is not a full pathname found in the values of %INC, it is considered a regex. C<eval>ed strings (when accessible) are considered to be filenames: @@ -273,7 +273,7 @@ subroutine is compiled. =item B line -Delete a breakpoint from the specified I<line>. +Delete a breakpoint from the specified I<line>. =item B * @@ -298,7 +298,7 @@ For example, this will print out $foo every time line =item A line -Delete an action from the specified line. +Delete an action from the specified line. =item A * @@ -307,7 +307,7 @@ Delete all installed actions. =item w expr Add a global watch-expression. We hope you know what one of these -is, because they're supposed to be obvious. +is, because they're supposed to be obvious. =item W expr @@ -346,19 +346,19 @@ For historical reasons, the C<=value> is optional, but defaults to 1 only where it is safe to do so--that is, mostly for Boolean options. It is always better to assign a specific value using C<=>. The C<option> can be abbreviated, but for clarity probably should -not be. Several options can be set together. See L<"Configurable Options"> +not be. Several options can be set together. See L<"Configurable Options"> for a list of these. -=item < ? +=item < ? List out all pre-prompt Perl command actions. =item < [ command ] Set an action (Perl command) to happen before every debugger prompt. -A multi-line command may be entered by backslashing the newlines. +A multi-line command may be entered by backslashing the newlines. -=item < * +=item < * Delete all pre-prompt Perl command actions. @@ -376,9 +376,9 @@ List out post-prompt Perl command actions. Set an action (Perl command) to happen after the prompt when you've just given a command to return to executing the script. A multi-line command may be entered by backslashing the newlines (we bet you -couldn't've guessed this by now). +couldn't've guessed this by now). -=item > * +=item > * Delete all post-prompt Perl command actions. @@ -395,14 +395,14 @@ List out pre-prompt debugger commands. =item { [ command ] Set an action (debugger command) to happen before every debugger prompt. -A multi-line command may be entered in the customary fashion. +A multi-line command may be entered in the customary fashion. Because this command is in some senses new, a warning is issued if you appear to have accidentally entered a block instead. If that's -what you mean to do, write it as with C<;{ ... }> or even +what you mean to do, write it as with C<;{ ... }> or even C<do { ... }>. -=item { * +=item { * Delete all pre-prompt debugger commands. @@ -449,7 +449,7 @@ This is the only supported way to exit the debugger, though typing C<exit> twice might work. Set the C<inhibit_exit> option to 0 if you want to be able to step -off the end the script. You may also need to set $finished to 0 +off the end the script. You may also need to set $finished to 0 if you want to step through global destruction. =item R @@ -487,7 +487,7 @@ Perl debugger, use a leading semicolon, too. =item m expr List which methods may be called on the result of the evaluated -expression. The expression may evaluated to a reference to a +expression. The expression may evaluated to a reference to a blessed object, or to a package name. =item M @@ -700,7 +700,7 @@ This module should implement a method named C<new> that returns an object with two methods: C<IN> and C<OUT>. These should return filehandles to use for debugging input and output correspondingly. The C<new> method should inspect an argument containing the value of C<$ENV{PERLDB_NOTTY}> at -startup, or C<".perldbtty$$"> otherwise. This file is not +startup, or C<"$ENV{HOME}/.perldbtty$$"> otherwise. This file is not inspected for proper ownership, so security hazards are theoretically possible. @@ -961,7 +961,7 @@ time of this writing, however, that tool's eventual location in the Perl distribution was uncertain. Users of B<vi> should also look into B<vim> and B<gvim>, the mousey -and windy version, for coloring of Perl keywords. +and windy version, for coloring of Perl keywords. Note that only perl can truly parse Perl, so all such CASE tools fall somewhat short of the mark, especially if you don't program |