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

Debugging threaded code

by Gangabass (Vicar)
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\ 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

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://941024]
Approved by Corion
and the leaves swirl about...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2017-08-16 18:20 GMT
Find Nodes?
    Voting Booth?
    Who is your favorite scientist and why?

    Results (272 votes). Check out past polls.