Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: perl crashes parsing huge script - how to find a line that crashes it?

by Anonymous Monk
on Feb 19, 2008 at 08:56 UTC ( [id://668753]=note: print w/replies, xml ) Need Help??


in reply to perl crashes parsing huge script - how to find a line that crashes it?

I guess calling it like this: "perl -Dt script.pl" will sched some light. But this requires perl compiled with -DDEBUGGING. ActivePerl is not compiled with way.

Does anybody know where to get such perl for windows?

Thanks!

  • Comment on Re: perl crashes parsing huge script - how to find a line that crashes it?

Replies are listed 'Best First'.
Re^2: perl crashes parsing huge script - how to find a line that crashes it?
by syphilis (Archbishop) on Feb 19, 2008 at 09:37 UTC
    Does anybody know where to get such perl for windows?

    I don't know of any pre-compiled debug versions of perl for windows, but it's quite easy to build one from source. Both the Win32/Makefile (for use with Visual Studio) and Win32/makefile.mk (for use with MinGW) in the perl source accommodate the building of a debug perl. (See the comments in the configurable section of the relevant makefile - it should just be a matter of uncommenting in one line.)

    Cheers,
    Rob

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-24 01:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found