Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] question on article "How to write an eclipse debugger"

Hi, all. I have a problem with running the example provided by the
Eclipse Corner Article "How to write an Eclipse Debugger".

when I tried to debug the pda example program, I got error of "Unable to
connect to PDA VM".

I look at the source of perl script and found program stop at

sub start_debugger {

.............

my $mainsock = new IO::Socket::INET (LocalHost => '127.0.0.1',
                                   LocalPort => $debugport,
                                   Listen    => 1,
                                   Proto     => 'tcp',
                                   Reuse     => 1,
                                  );
                                  
# Program runtime can only get here                       
                                  
$debugsock = $mainsock->accept();

........................
}

I am not familiar with perl, so Does anyone has the same problem with me
and know the solution, Please let me know, thanks a lot!!!


Johnny



Back to the top