Re: perlmonks debugger thread

2003-08-14 Thread Peter Scott
orth their time, leave them be. It's the ones who don't know how to use it who *assume* it's not worth their time who should at least try it out. -- Peter Scott http://www.perldebugged.com

Re: Existing books on debugging ?

2003-08-18 Thread Peter Scott
brand, like "for Dummies", and that there would be "C++ Debugged", "Java Debugged", etc, and told the publishers so, but no sign of anyone jumping on that bandwagon. -- Peter Scott http://www.perldebugged.com

Re: [debugger] finding deep recursin

2004-01-11 Thread Peter Scott
ror with stack trace: % perl -MCarp=confess -we '$SIG{__WARN__} = sub {confess @_ }; \ sub foo { foo() } foo' -- Peter Scott http://www.perldebugged.com/ *** NEW *** http//www.perlmedic.com/

Re: [debugger] finding deep recursin

2004-01-12 Thread Peter Scott
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Matthew O. Persico) writes: >On 11 Jan 2004 17:33:32 -0000, Peter Scott wrote: >> In article <[EMAIL PROTECTED]>, >> [EMAIL PROTECTED] (Gabor Szabo) writes: >>> >>> Any idea how can I use the debugger

Re: Embeding the debuger

2004-02-04 Thread Peter Scott
t;I can see that ddd is using something like this but I don't know how. I suspect that you want perldoc perldebguts -- Peter Scott http://www.perldebugged.com/ *** NEW *** http//www.perlmedic.com/

Re: something is killing my perl script

2004-06-04 Thread Peter Scott
information when it dies. -- Peter Scott http://www.perldebugged.com/ *** NEW *** http://www.perlmedic.com/

Re: Q: How best to detect running inside the debugger

2004-10-31 Thread Peter Scott
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Tim Meadowcroft) writes: >What's the best/recommended way for a script to detect when it's running >under the debugger ? I usually do ... if defined &DB::DB for the prettiness of it. -- Peter Scott h

Re: Two debugger related questions...

2004-11-24 Thread Peter Scott
ut, then when i do a "list %foo" it gives me an error >that list is not recognized. it should convert that >to &::debugValue (\%foo). yes, i 'require dumpvar.pl' >as well. Okay, I'll bite: what's wrong with the 'x' command? -- Peter Scott http://www.perldebugged.com/ *** NEW *** http://www.perlmedic.com/

Re: Escape chars in the prompt of perl5db.pl

2009-05-07 Thread Peter Scott
[24m[1m" > > My question is: Is it possible to turn off these escape chars in perldb, > without changing perl5db.pl? Try setting the TERM environment variable to 'dumb'. -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/ http://www.informit.com/store/product.aspx?isbn=0137001274

Re: Strategies for using the debugger with complex applications

2009-12-03 Thread Peter Scott
wser and then control it in the debugger. But what if > the app is not running mod_perl? If the program is a CGI then you can wrap it such that it runs ptkdb and remotes the debugger display to your screen via X. Then you invoke it form a browser and the debugger runs on the server invocation