Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: multithreaded debugging

by andyford (Curate)
on Aug 28, 2007 at 20:24 UTC ( #635678=note: print w/ replies, xml ) Need Help??


in reply to multithreaded debugging

Sounds to me like you need to post a complete program that demonstrates the error, otherwise we're either guessing or trying to write a wrapper around your subs which may or may not be similar to what you're actually doing.

Also, while you're crafting a minimal test case, put in lots more print statements and don't forget to "use strict" and "use warnings".

non-Perl: Andy Ford


Comment on Re: multithreaded debugging
Replies are listed 'Best First'.
Re^2: multithreaded debugging
by Razvanica (Novice) on Aug 29, 2007 at 09:05 UTC
    Thanks Andy
    I cannot post my complete program because it involves many packages and it would be just a waist of time for you to try and assemble it. I tried to re-create the situation with a simple example but in my example things worked just fine.
    I realize it is difficult for you to spot an error like this and that's why I am asking if there is a way to debug it myself. I have a line in my code where the interpretor just blocks. It doesn't return an error and it doesn't pass this line. So the question is what can I do to see what's wrong whit it.
    Thanks.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2015-07-08 00:41 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 (93 votes), past polls