summaryrefslogtreecommitdiff
path: root/pod/perldebug.pod
diff options
context:
space:
mode:
authorRichard Foley <richard.foley@rfi.net>2007-10-10 17:29:39 +0200
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-10-10 20:54:25 +0000
commit9311160e8e005d634474952ba2e0841d81d67460 (patch)
tree00cc48c018ea1558f0a8d70ea2b2050c9b4d91ce /pod/perldebug.pod
parented7c6c7f3745d11ad81e1c8eddc18c5a10326b01 (diff)
downloadperl-9311160e8e005d634474952ba2e0841d81d67460.tar.gz
add calling hints to perldebug.pod
Message-Id: <200710101529.39895.Richard.Foley@rfi.net> p4raw-id: //depot/perl@32096
Diffstat (limited to 'pod/perldebug.pod')
-rw-r--r--pod/perldebug.pod26
1 files changed, 25 insertions, 1 deletions
diff --git a/pod/perldebug.pod b/pod/perldebug.pod
index 8c6e940b41..252990139f 100644
--- a/pod/perldebug.pod
+++ b/pod/perldebug.pod
@@ -54,9 +54,33 @@ function with something that doesn't look like a debugger command, such
as a leading C<;> or perhaps a C<+>, or by wrapping it with parentheses
or braces.
+=head2 Calling the debugger
+
+There are several ways to call the debugger:
+
+=over 4
+
+=item perl -d program_name
+
+On the given program identified by C<program_name>.
+
+=item perl -d -e 0
+
+Interactively supply an arbitrary C<expression> using C<-e>.
+
+=item perl -d:Ptkdb program_name
+
+Debug a given program via the C<Devel::Ptkdb> GUI.
+
+=item perl -dt threaded_program_name
+
+Debug a given program using threads (experimental).
+
+=back
+
=head2 Debugger Commands
-The debugger understands the following commands:
+The interactive debugger understands the following commands:
=over 12