×

Method of walking-up a call stack for a client/server program that uses remote procedure call

  • US 5,802,371 A
  • Filed: 06/06/1997
  • Issued: 09/01/1998
  • Est. Priority Date: 09/29/1994
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for debugging a distributed computer program comprising a client program executing on a first portion of a distributed data processing system and a server program executing on a second portion of the distributed data processing system, said method comprising the steps of:

  • (a) determining a first call stack on the first portion of the distributed data processing system of the client program;

    (b) determining a second call stack on the second portion of the distributed data processing system of the server program by evaluating remote procedure call (RPC) run-time data structures;

    (c) appending the first call stack and second call stack together on the first portion of the distributed data processing system to form a single distributed call stack;

    (d) displaying on the first portion of the distributed data processing system the single distributed call stack;

    (e) setting a current context to a context where a breakpoint occurs;

    (f) walking up a call stack of the current context;

    (g) for each routine in the current context call stack, determining if it is a server dispatch routine, andif it'"'"'s not a server dispatch routine, outputting the program name and continuing up the current context call stack, andif it is a server dispatch routine, obtaining a context of a client dispatched by the server dispatch routine, and setting the current context to the context of the dispatched client;

    (h) walking up a call stack of the current context of the dispatched client; and

    (i) for each routine in the call stack of the current context of the dispatched client, determining if it is a client call, and if it is a client call, looping back to step (f).

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×