Excellent.
Ciao
Richard Foley
http://www.oreilly.com/catalog/perldebugpr/
>-Original Message-
>From: Desany, Brian [mailto:[EMAIL PROTECTED]
>Sent: Dienstag, 21. September 2004 15:41
>To: [EMAIL PROTECTED]
>Subject: RE: y command
>
>
>Ah.
>
>Too bad. FWIW if I wrap my entire script in "
Brian,
I think you might have to be in a subroutine for it to do it's magic.
>From the PadWalker docs:
inspect (and even change!) lexical variables in any subroutine which called you
..
Ciao
Richard Foley
http://www.oreilly.com/ca
>True, but are we running 5.8.x in production?
>
>Also, isn't 'w' (lowercase) "window" -- show a patch of code?
>Not unlike
>the '-' and 'l' commands?
>
Not anymore.
w is set watch variable
W is delete watch variable
l is list code
v is view window of code (mu
>For the Debugger, take a look at the W command -- Set Watch
>Point (doc in
>Camel, under "Debugger Commands > Tracing"
>
Make that the 'w' command.
Uppercase 'W' is deprecated as of 5.8.0.
Richard Foley
---
Ciao - shorter than Aufwiedersehen
>
>B
>
>At 08:55 PM 11/3/2003 +0200, Gabor Szabo
Looks odd.
Appears to have different behaviour depending on whether you used '::' or '/' as the
seperator.
Which is clearly not quite what you meant.
But if it works on the second iteration, just call it twice :-)
Or try using '/' first time round and see what happens?
Richard Foley
---
Ciao
Use the 'onload breakpoint' facility:
b load module
Then restart the debugger:
R
Richard Foley
---
Ciao - shorter than Aufwiedersehen
>-Original Message-
>From: Gabor Szabo [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, September 16, 2003 9:30 AM
>To: [EMAIL PROTECTED]
>S
>It caused me some consternation when "Debugging Perl" came out
>while I was
I agree, and think there's much room for this kind of book, but it appears unpopular
with publishers. Maybe they know something we don't, or maybe it's just one of those
things like a skeleton in the cupboard. Everyo
>Of course we can all point at "Perl Debugged" but I don't know
>any other book talking about debugging.
>
Well, there will be my (small) effort, out in November, if O'Reilly ever get around to
printing the blessed thing :-]
>What books out there are of use for those wanting to learn debugging?
>As to the arguments for not using the debugger, they sound somewhat religious.
>I'm not about to claim Larry is wrong for not using it.
Genau. I don't think many of us would stand up and say we are on a par with Larry and
programming in Perl, perhaps he only needs the print statement to solve
Pros and cons:
http://www.perlmonks.org/index.pl?node_id=48474
Richard Foley
---
Ciao - shorter than Aufwiedersehen
Visit our website at http://www.ubs.com
This message contains confidential information and is intended only
for the individual named. If you are not the named addressee
You can also use the UsageOnly option in the debugger used via the 'V' command:
[EMAIL PROTECTED]:~ $ perl580 -d -e 0
Loading DB routines from perl5db.pl version 1.19
Editor support available.
Enter h or `h h' for help, or `man perldebug' for more help.
main::(-e:1): 0
DB<1> use warnings
Gabor,
We (the Royal we :) should also setup a K/Wiki on the web site somewhere for general
use, some time.
Richard Foley
---
Ciao - shorter than Aufwiedersehen
>-Original Message-
>From: Gabor Szabo [mailto:[EMAIL PROTECTED]
>Sent: Sunday, August 03, 2003 10:51 PM
>To: [EMAIL PROTEC
Welcome to the perl debugger mailing list :-)
Our intention is to make this a forum for any and all discussions relating to the perl
debugger, as well as debugging with perl.
There is, or will be, a web site at:
http://debugger.perl.org/
Enjoy.
Richard Foley
---
Ciao - shorter than Au
13 matches
Mail list logo