Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Debugging a program

by dHarry (Abbot)
on Aug 06, 2008 at 13:32 UTC ( [id://702631]=note: print w/replies, xml ) Need Help??


in reply to Debugging a program

Perl -d (If you invoke Perl with the -d switch, your script runs under the Perl source debugger)

There are also many modules for debugging on CPAN.

Some IDE's (like mine) come with there own debugger.

I would advise to try your luck with Perl -d first.

Replies are listed 'Best First'.
Re^2: Debugging a program
by leonidlm (Pilgrim) on Aug 06, 2008 at 13:44 UTC
    Can you suggest some good perl IDE's ? maybe some ide's that wrap a perl debugger in a nice windowed interface :)?
      On any platform ... you could try the Activestate Komodo IDE
      Komodo IDE
      If you are looking for something free on MSs Windows.. try the Open Perl IDE
      Open Perl IDE
      Haven't tried it .. but i've heard pretty decent reviews of Perl Express as well...
      PerlExpress
      Update: added platform info

      Take a look at ptkdb. Its a pretty good Tk based debugger interface. You invoke your script like this:

      perl -d:ptkdb mysript.pl

      It's a bit quicker to pick up than the normal debugger. But even that isn't as hard as it seems at first.


      TGI says moo

        I find EPIC to be terrific. The editor is more powerful and flexible than Komodo (for what I've used of Komodo) and also more stable and faster. The debugger seems to be almost as good as Komodo's. Integrated perltidy is very handy, the integrated percritic would be nice if I could get it to work, and I find the refactoring tools useful.
      I'm using Komodo from ActiveState mainly because of its excellent debugger interface. The software costs money, but well worth it (if you work for a company that pays the bill).

      In addition to those already mentioned, IIRC, I have used emacs's (is that proper?) debugger interface, although it was in my undergraduate days (10-15 years ago).

      --MidLifeXis

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://702631]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-19 00:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found