Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: unexpected quit - no error message

by zentara (Archbishop)
on Mar 02, 2009 at 16:10 UTC ( #747488=note: print w/ replies, xml ) Need Help??


in reply to unexpected quit - no error message

If I was troubleshooting this, I would sprinkle print statements liberally in the code and log them. Even start with print "1\n"; print "2\n";, etc. Then isolate what part of the code gets executed, and where it hangs.

I know with "devices", code can hang so badly it will lock up the software, sort of in a "wait and retry" state.

You may have to isolate the line, wrap it in an eval, with a timeout, and check what the eval error is. Google for "perl eval error" and you will find may examples.


I'm not really a human, but I play one on earth My Petition to the Great Cosmic Conciousness


Comment on Re: unexpected quit - no error message

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2015-07-07 03:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (87 votes), past polls