Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

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

Comment on Debugging threaded code
Download Code
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 web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2016-05-29 14:13 GMT
Find Nodes?
    Voting Booth?