NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
NuSoap: debuging the server


Joined: 31 Jul 2006
Posts: 3
Reply with quote
Hi,

I'm currently evaluating nuSoap inside phpEd 4.6.

I'd like to know if there is a way to debug the server?

I appended "DBGSESSID=d=1,p=0,c=1" to the webservices url in the client:

Code:
$client = new soapclient( 'http://localhost/test/webservices.php?wsdl&DBGSESSID=d=1,p=0,c=1', true) ;


When I put a breakpoint at the very top of my nuSoap server file and open the client within an outside browser window, it breaks correctly.

But I'm unable to:

1) Put a breakpoint inside a registered public function on the server and have it to break when the client calls it (this is my main problem)
2) Debug the server AND the client at the same time (less important since it's the server that I want to debug)

Any help?

Thanks!

Roger
View user's profileFind all posts by frouin2Send private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
I think it would be easier to put DebugBreak() function call into your "registered" function. It will trigger the debugger when it is called.

Regarding the 2), we're working on this.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 31 Jul 2006
Posts: 3
Reply with quote
Works perfectly, thanks.

We should buy 2 licences very soon.
View user's profileFind all posts by frouin2Send private message
NuSoap: debuging the server
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic