Debugging with rpcgen
When programming with
rpcgen,
the client program and the server procedure can be tested together
as a single program by linking them with each other rather
than with the client and server stubs.
To do this, calls to RPC library
routines (for example,
clnt_create),
have to be commented out,
and client-side routines have to call server routines directly.
The procedure calls will be
executed as ordinary local procedure calls and the program can be
debugged with a local debugger.
After the program is working, the client program can be linked to the
rpcgen-created
client stubs and the server procedures can be linked to the
rpcgen-created
server skeleton.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005