http://qs321.pair.com?node_id=635678


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

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.