Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by randyk (Parson)
on Feb 19, 2008 at 17:20 UTC ( #668850=note: print w/replies, xml ) Need Help??


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

You can obtain the pdb debugging symbols for the standard ActivePerl builds at http://downloads.activestate.com/ActivePerl/Windows/. To use these, browse this site until you find the appropriate zip file containing the symbols (eg, ActivePerl-5.10.0.1002-MSWin32-x86-283697-symbols.zip), and unpack this in the same top-level directory where Perl was installed (eg, C:\Perl). Debugging tools like Dr. Watson, as well as Visual Studio if you have it, will then use the information in these symbol files to help pinpoint where and why a crash occurred.
  • Comment on Re: perl crashes parsing huge script - how to find a line that crashes it?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://668850]
help
Chatterbox?
[marioroy]: kcott Thanks
[Corion]: gnosti: I would cheat and use my approach instead of dealing with durations as objects, or a module
[Corion]: You could even do the calculation directly - my $duration = $H * 3600+ $M*60 + $S; strftime '%H:%M:%S', timelocal($duratio n)
[Corion]: (and that strftime call is largely superfluous too, converting back to H:M:S isn't hard either)

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2017-08-18 09:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (297 votes). Check out past polls.

    Notices?