diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2004-10-15 14:09:54 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2004-10-15 14:09:54 +0000 |
commit | 2cbb2ee1d6d1dc9f375107de4b70573ece8a4e13 (patch) | |
tree | fa206f70aa68c2e54b6bb00ca6aef091e083e04e /pod/perlrun.pod | |
parent | c333cfe784a03678e3e071720a240ed3993ae09b (diff) | |
download | perl-2cbb2ee1d6d1dc9f375107de4b70573ece8a4e13.tar.gz |
Implement a new -dt command-line flag, to enable threads under the
debugger (bug #31666).
Subject: RE: [PATCH] debugger handles threads [perl #31666]
From: <richard.foley@ubs.com>
Date: Wed, 13 Oct 2004 13:01:18 +0200
Message-ID: <B374141B0A424D4F9CF143CC51B3ADD903FB9E12@NZURC900PEX1.ubsgs.ubsgroup.net>
Subject: Re: [PATCH] debugger handles threads [perl #31666]
From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
Date: Wed, 13 Oct 2004 02:49:58 -0700
Message-ID: <20041013094957.GA17184@efn.org>
p4raw-id: //depot/perl@23372
Diffstat (limited to 'pod/perlrun.pod')
-rw-r--r-- | pod/perlrun.pod | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/pod/perlrun.pod b/pod/perlrun.pod index 3cc8d3daea..1d0d55b335 100644 --- a/pod/perlrun.pod +++ b/pod/perlrun.pod @@ -6,7 +6,7 @@ perlrun - how to execute the Perl interpreter B<perl> S<[ B<-sTtuUWX> ]> S<[ B<-hv> ] [ B<-V>[:I<configvar>] ]> - S<[ B<-cw> ] [ B<-d>[:I<debugger>] ] [ B<-D>[I<number/list>] ]> + S<[ B<-cw> ] [ B<-d>[B<t>][:I<debugger>] ] [ B<-D>[I<number/list>] ]> S<[ B<-pna> ] [ B<-F>I<pattern> ] [ B<-l>[I<octal>] ] [ B<-0>[I<octal/hexadecimal>] ]> S<[ B<-I>I<dir> ] [ B<-m>[B<->]I<module> ] [ B<-M>[B<->]I<'module...'> ]> S<[ B<-P> ]> @@ -342,16 +342,24 @@ be skipped. =item B<-d> +=item B<-dt> + runs the program under the Perl debugger. See L<perldebug>. +If B<t> is specified, it indicates to the debugger that threads +will be used in the code being debugged. =item B<-d:>I<foo[=bar,baz]> +=item B<-dt:>I<foo[=bar,baz]> + runs the program under the control of a debugging, profiling, or tracing module installed as Devel::foo. E.g., B<-d:DProf> executes the program using the Devel::DProf profiler. As with the B<-M> flag, options may be passed to the Devel::foo package where they will be received and interpreted by the Devel::foo::import routine. The comma-separated list of options must follow a C<=> character. +If B<t> is specified, it indicates to the debugger that threads +will be used in the code being debugged. See L<perldebug>. =item B<-D>I<letters> @@ -1095,6 +1103,11 @@ The command used to load the debugger code. The default is: BEGIN { require 'perl5db.pl' } +=item PERL5DB_THREADED + +If set to a true value, indicates to the debugger that the code being +debugged uses threads. + =item PERL5SHELL (specific to the Win32 port) May be set to an alternative shell that perl must use internally for |