diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-04 05:51:14 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-04 05:51:14 +0000 |
commit | 83ee9e095f68fdbdc131f9a00306fb151d58abe2 (patch) | |
tree | f0460c4669eb8df6bd5bf9f2a5f9b5f8e4a4045c /pod | |
parent | b48f1ba55530934180c410ecc1fb73c4bc730b30 (diff) | |
download | perl-83ee9e095f68fdbdc131f9a00306fb151d58abe2.tar.gz |
patch to provide more informative names for evals and anonymous
subroutines (from Ilya Zakharevich)
p4raw-id: //depot/perl@4975
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perldebug.pod | 7 | ||||
-rw-r--r-- | pod/perlvar.pod | 17 |
2 files changed, 22 insertions, 2 deletions
diff --git a/pod/perldebug.pod b/pod/perldebug.pod index 65a07e21fa..1c94f5fda0 100644 --- a/pod/perldebug.pod +++ b/pod/perldebug.pod @@ -153,7 +153,8 @@ List a single line. =item l subname -List first window of lines from subroutine. +List first window of lines from subroutine. I<subname> may +be a variable which contains a code reference. =item - @@ -251,7 +252,9 @@ that begin an executable statement. Conditions don't use B<if>: =item b subname [condition] -Set a breakpoint at the first line of the named subroutine. +Set a breakpoint at the first line of the named subroutine. I<subname> may +be a variable which contains a code reference (in this case I<condition> +is not supported). =item b postpone subname [condition] diff --git a/pod/perlvar.pod b/pod/perlvar.pod index 3393fd930f..dca9cc092f 100644 --- a/pod/perlvar.pod +++ b/pod/perlvar.pod @@ -832,6 +832,23 @@ Keep info about source lines on which a subroutine is defined. Start with single-step on. +=item 0x40 + +Use subroutine address instead of name when reporting. + +=item 0x80 + +Report C<goto &subroutine> as well. + +=item 0x100 + +Provide informative "file" names for evals based on the place they were compiled. + +=item 0x200 + +Provide informative names to anonymous subroutines based on the place they +were compiled. + =back Some bits may be relevant at compile-time only, some at |