Ref: <http://perl.apache.org/docs/1.0/guide/debug.html>
     
<http://perl.apache.org/docs/1.0/guide/debug.html#Introduction_to_the_Perl_Debugger>
     <http://perl.apache.org/docs/1.0/guide/debug.html#Interactive_mod_perl_Debugging>

Several places mention perldb command `w' (window).  Is that command
missing from more recent versions of perldb?

   Loading DB routines from perl5db.pl version 1.19

     DB<1> w
   Adding a watch-expression requires an expression

Yes, there is `l' and `-' -- however, these show lines only _after_ or
_before_ the current line.  `w' in the reference webpage results in a
window with lines _before_ and _after_ the current line, which is ideal
for establishing context.

How can I do this with my perldb?

-- 
Best Regards,

mds
mds resource
877.596.8237
-
Dare to fix things before they break . . .
-
Our capacity for understanding is inversely proportional to how much
we think we know.  The more I know, the more I know I don't know . . .
--

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to