RE: PERL debuggers

2004-01-07 Thread Dan Muey
> Are there any free PERL debuggers?

Have you tried use strict and use warnigns in your scripts?
Also perl -c script.pl is helpfule and then the perl debugger itself:
perl -d

I'm sure their's thrid party stuff but I never use any, 
the above does plenty for my needs.

HTH

Dmuey

> 
> I once came across pvdb (a vi-aware front-end for the PERL 
> debugger developed by Tom Christainsen), but I never got it to work.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




Re: PERL debuggers

2004-01-07 Thread Wiggins d Anconia
> 
> Are there any free PERL debuggers?
> 
> I once came across pvdb (a vi-aware front-end for the PERL debugger
> developed by Tom Christainsen), but I never got it to work.
> 

perldoc perldebtut
perldoc perldebug

Have you had a look at those?

http://danconia.org

p.s. perldoc -q '"Perl"'

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




Re: PERL debuggers

2004-01-07 Thread James Edward Gray II
On Jan 7, 2004, at 2:35 PM, <[EMAIL PROTECTED]> wrote:

Beside perldebug, ...
Why?  This is a very capable debugger.  Why would it be a choice to 
avoid?

James

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 



Re: PERL debuggers

2004-01-07 Thread Jenda Krynicky
From:   <[EMAIL PROTECTED]>
> Are there any free PERL debuggers?

http://world.std.com/~aep/ptkdb/

Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




RE: PERL debuggers

2004-01-07 Thread Esposito, Anthony
There is Open Perl IDE.  Check out http://open-perl-ide.sourceforge.net.
Unfortunately, it is for Windows only.

HTH  :-)

Tony Esposito
Oracle Developer, Enterprise Business Intelligence
XO Communications
Plano, TX  75074
Work Phone: 972-516-5344
Work Cell: 972-670-6144
Email: [EMAIL PROTECTED]


-Original Message-
From: Wiggins d Anconia [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 07, 2004 2:29 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: PERL debuggers

> 
> Are there any free PERL debuggers?
> 
> I once came across pvdb (a vi-aware front-end for the PERL debugger
> developed by Tom Christainsen), but I never got it to work.
> 

perldoc perldebtut
perldoc perldebug

Have you had a look at those?

http://danconia.org

p.s. perldoc -q '"Perl"'

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Re: PERL debuggers

2004-01-07 Thread Dan Anderson
I've created a module that I am planning on eventually releasing to CPAN
which provides a good framework for debugging.  Basically you can have
your code report 4 types of warnings: 

INFO
WARNING
ERROR
FATAL_ERROR

You can also assign a "class" to each and turn on or off all of one type
or all of one subclass of one type.  Everything either records to a log
file or prints to STDERR, and I am going to (eventually) add the
capability to e-mail the log of errors to an admin.  (So if you create a
program and your users do something unexpected you can have them send
you a readout of exactly what happened).  And I've got a bunch of other
ideas (i.e. HTML output) that I may implement when I finally manage to
getting around to see if I can put it on CPAN.

It's written in pure perl and GPLed.  e-mail me if you'd like me to send
you over a copy.  It's still being developed though.

-Dan


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




Re: PERL debuggers

2004-01-07 Thread Dan Anderson
I'd like to add that it's not a debugger like the one someone else
posted for stepping through your code and setting breakpoints.  It's
designed to allow you to create a log with the state of your script and
what has been done, so that way you can have somebody who is not a
programmer and who is using your script send you the log (because, of
course, most of those type of people can't debug with you over the
phone).  :-D

-Dan


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




Re: PERL debuggers

2004-01-07 Thread Wiggins d Anconia


> I've created a module that I am planning on eventually releasing to CPAN
> which provides a good framework for debugging.  Basically you can have
> your code report 4 types of warnings: 
> 
> INFO
> WARNING
> ERROR
> FATAL_ERROR
> 
> You can also assign a "class" to each and turn on or off all of one type
> or all of one subclass of one type.  Everything either records to a log
> file or prints to STDERR, and I am going to (eventually) add the
> capability to e-mail the log of errors to an admin.  (So if you create a
> program and your users do something unexpected you can have them send
> you a readout of exactly what happened).  And I've got a bunch of other
> ideas (i.e. HTML output) that I may implement when I finally manage to
> getting around to see if I can put it on CPAN.
> 
> It's written in pure perl and GPLed.  e-mail me if you'd like me to send
> you over a copy.  It's still being developed though.
> 
> -Dan
> 

>From your description this sounds very similar to Log4perl (a Log4j Perl
implementation) have you checked it out to see what may already be
available, if for no other reason than to borrow from? 

Certainly not trying to discredit your efforts, just spreading the
log4perl wealth, I have found it incredibly robust while at the same
time being complex enough to handle some intricate tasks.

http://log4perl.sf.net

For more information, be sure to check out the "retire your debugger"
article

Good luck,

http://danconia.org

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




Re: PERL debuggers

2004-01-07 Thread William.Ampeh




No, I love perldebug, I was just wondering if I there were any other "neat
tools" unknown to me.

__

William Ampeh (x3939)
Federal Reserve Board


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




Re: PERL debuggers

2004-01-08 Thread Peter Scott
In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (William Ampeh) writes:
>
>Sorry I forgot to include this in my earlier question:
>
>Beside perldebug, and the usual (use strict and perl -c).

You apppear to have a broad definition of "debugger" that
extends beyond the customary trace/inspect tool into
any device that helps you detect or prevent bugs.  So I
will take the liberty of saying that it was my intention
to enumerate such devices in the book "Perl Debugged" (see
URL below).  Plus, it has cute cartoons :-)

-- 
Peter Scott
http://www.perldebugged.com/
*** NEW *** http//www.perlmedic.com/



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




RE: Perl Debuggers - was Re: Simulate `sh -x'

2002-06-23 Thread Timothy Johnson

 
No, it's alot better.  It has a look that is similar to the MSVC or VB
debugging tools and allows you to step into/over, etc.  I don't use it all
the time, but every once in a while it can be useful.  It lets you see what
is happening all in one place.

-Original Message-
From: drieux
To: begin begin
Sent: 6/22/02 9:55 PM
Subject: Perl Debuggers - was Re: Simulate `sh -x'


On Saturday, June 22, 2002, at 05:01 , Timothy Johnson wrote:

> Some of you out there using Win32, the Activestate Perl Dev Kit comes
with
> an excellent Perl Debugger.  It does allow you to step into and out of
> functions, watch variables for changes, etc.

Unless they have added something - isn't this the same one that
comes with the standard perl release

I will agree with most folks that working stuff in a 'debugger'
tends to be a bit more work than the usual

prinf(...)

types of solutions - but it also saves you the time of putting
them in and taking them out...


ciao
drieux

---


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Perl Debuggers - was Re: Simulate `sh -x'

2002-06-23 Thread Jenda Krynicky

From: drieux <[EMAIL PROTECTED]>
> On Saturday, June 22, 2002, at 05:01 , Timothy Johnson wrote:
> 
> > Some of you out there using Win32, the Activestate Perl Dev Kit
> > comes with an excellent Perl Debugger.  It does allow you to step
> > into and out of functions, watch variables for changes, etc.
> 
> Unless they have added something - isn't this the same one that
> comes with the standard perl release

No. The Perl Dev Kit contains a graphical debuger.

And then there is the ptkdb : http://world.std.com/~aep/ptkdb/

Both are quite good :-)

> I will agree with most folks that working stuff in a 'debugger'
> tends to be a bit more work than the usual
> 
>  prinf(...)
> 
> types of solutions - but it also saves you the time of putting
> them in and taking them out...

To get similar type of debuging "free" you may use Devel::TraceSubs : 
http://www.perlmonks.org/index.pl?node_id=167881

Jenda
=== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==
There is a reason for living. There must be. I've seen it somewhere.
It's just that in the mess on my table ... and in my brain
I can't find it.
--- me


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]