From 7e17a74c9021618e7f21df7f5d5c943c593d6cae Mon Sep 17 00:00:00 2001 From: Josh ben Jore Date: Sat, 10 Jul 2010 07:38:31 -0700 Subject: [PATCH] Document that @{$main::{'_<'.$filename}} lines are dualvar to (COP*). --- lib/perl5db.pl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/perl5db.pl b/lib/perl5db.pl index 6337974..cdbee15 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. 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; -- 2.7.4