diff options
author | Josh ben Jore <jjore@cpan.org> | 2010-07-10 07:38:31 -0700 |
---|---|---|
committer | Josh ben Jore <jjore@cpan.org> | 2010-07-10 07:38:31 -0700 |
commit | 7e17a74c9021618e7f21df7f5d5c943c593d6cae (patch) | |
tree | 4533ce6e5e388d750be655a245fe859ac3c78370 /lib | |
parent | a2d3de138935fbe8f4190ee9176b8fdd812a91d5 (diff) | |
download | perl-7e17a74c9021618e7f21df7f5d5c943c593d6cae.tar.gz |
Document that @{$main::{'_<'.$filename}} lines are dualvar to (COP*).
Diffstat (limited to 'lib')
-rw-r--r-- | lib/perl5db.pl | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/perl5db.pl b/lib/perl5db.pl index 633797402f..cdbee155ca 100644 --- a/lib/perl5db.pl +++ b/lib/perl5db.pl @@ -173,9 +173,11 @@ Send in a patch if you can clear up, fill out, or clarify an C<XXX>. There are a number of special data structures provided to the debugger by the Perl interpreter. -The array C<@{$main::{'_<'.$filename}}> (aliased locally to C<@dbline> via glob -assignment) contains the text from C<$filename>, with each element -corresponding to a single line of C<$filename>. +The array C<@{$main::{'_<'.$filename}}> (aliased locally to C<@dbline> +via glob assignment) contains the text from C<$filename>, with each +element corresponding to a single line of C<$filename>. Additionally, +breakable lines will be dualvars with the numeric component being the +memory address of a COP node. Non-breakable lines are dualvar to 0. The hash C<%{'_<'.$filename}> (aliased locally to C<%dbline> via glob assignment) contains breakpoints and actions. The keys are line numbers; |