NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Debugging RPC calls


Joined: 28 May 2004
Posts: 5
Reply with quote
Hi. I'm in trouble here. I had a RPC server who gets functions call from a jscript lib.

How could I debug those functions??

Ex:
@client: <script> call(MyServer, "myFunc", [params]); </script>
@server:
(...)
case 'myFunc' : $obj = new obj();
$obj-> doMyFunc();
(...)

In that case I whant to be able to debug doMyFunc and *any* related code, like a $db-> doInsert() or whatever inside it.

How? I wonder why can't I just set a breakpoint on a file and get the debugger working on it every time it's processed.

Realy thank you in advance.

P.s: btw, its a GREAT product of yours Smile
View user's profileFind all posts by labs@cbaSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 7891
Reply with quote
well, start with looking at http://forum.nusphere.com/howto-run-debug-session-t585.html
I think there should be a way to pass either GET, POST or COOKIE argument. If neither possible, you can type DebugBreak() function call into your php script that you want to debug.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Debugging RPC calls
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