Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2018-06-19 06:48 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (111 votes). Check out past polls.