Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Perl doesn't wait when remote debugging XML-RPC

Status
Not open for further replies.

cpjust

Programmer
Sep 23, 2003
2,132
US
Hi,
I have some perl code that calls functions on a Java server over XML-RPC. I enabled remote debugging in Eclipse and set a breakpoint in the function I'm debugging, and when I run my Perl script, Eclipse hits the breakpoint and lets me step through, but the Perl script doesn't wait until I step through the function, it immediately continues running.
I have no idea why it does this.
In the new() function of the XMLRPC API perl object there's a line that says:
Code:
$self->{timeout} = 30;
I tried adding a few 0's to the timeout, but it makes no difference.
How can I make Perl wait so I can properly debug this code?

NOTE: I'm using the Perl XML::RPC module, not the RPC::XML module.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top