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

Debugging threaded code

by Gangabass (Priest)
on Dec 01, 2011 at 09:50 UTC ( #941024=perlquestion: print w/ replies, xml ) Need Help??
Gangabass has asked for the wisdom of the Perl Monks concerning the following question:

I'm using Komodo IDE but get this error while using Komodo's debugger: <cite>Thread 1 terminated abnormally: Undefined subroutine &Dos::CLONE called at C:\Users\roman.2GIS\Dropbox\Projects\Uncompleted\gkhambat\Basketball parser\scraper.pl line 23.</cite> And this is line 23 (i have no any Dos subroutine anywhere):
#!/usr/bin/perl use strict; use WWW::Mechanize; use FindBin qw($Bin); use Thread::Queue; use HTML::TreeBuilder::XPath; my @threads = map { threads->create( \&create_thread, $_ ) } ( 1 .. $config->{NUMBER_OF_THREADS} );
So all threads are terminated immediately after start. In the previous versions of Komodo i have no such issue. What i can do with this? Thanks. Roman

Comment on Debugging threaded code
Download Code
Re: Debugging threaded code
by Anonymous Monk on Dec 01, 2011 at 10:01 UTC
    :) Pretend that Komodo doesn't exist ? I know, not very helpful :/

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2014-07-25 00:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (167 votes), past polls