rpcpdb

Software Screenshot:
rpcpdb
Software Details:
Version: 0.3.5
Upload Date: 20 Feb 15
Developer: Ben Bass
Distribution Type: Freeware
Downloads: 13

Rating: 5.0/5 (Total Votes: 1)

rpcpdb is a Python wrapper around the Python pdb debugger which makes it more suitable for use in RPC contexts.

It is designed to fulfil the need to debug a function on an already-running server which uses threads or processes to dispatch each remote procedure call, without having to change the source code to the server in any way. There is no disruption to other clients and rpc calls while the selected call is being debugged.

In particular, a mixin class is provided which adds the debug_func and undebug_func methods to your RPC server. These allow breakpoints to be controlled by another RPC client.

For an example, run the xmlrpc_server.py server process, then run one or more xmlrpc_client.py processes which will continually perform RPC requests against it. xmlrpc_debug.py can then be run to inject a debug breakpoint in a method which the clients are continually calling; the next client to call that function will be remotely debuggable, while other clients carry on oblivious.

Currently the debug interface is provided via a UNIX socket, but this will be extended in future.

RPC framework support is intended to cover XMLRPC, RPyC and Pyro in the initial stages.

What is new in this release:

  • Added ignore_count functionality for skipping a matched breakpoint n times

What is new in version 0.2.1:

  • Python 3 support (3.2+ only)
  • Parameter matching to trigger debugger (conditional debugging)

What is new in version 0.1.1:

  • Fix issue where select call in termsock was continually finding writable FDs, causing 100% CPU usage

Requirements:

  • Python

Similar Software

Alleyoop
Alleyoop

15 Apr 15

strace
strace

23 Nov 17

BuGLe
BuGLe

17 Feb 15

Visual xsltproc
Visual xsltproc

2 Jun 15

Other Software of Developer Ben Bass

rpcpdb
rpcpdb

13 Apr 15

piefull
piefull

13 May 15

Comments to rpcpdb

Comments not found
Add Comment
Turn on images!