home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
testrf.zip
/
testrfnc.doc
< prev
next >
Wrap
Text File
|
1993-12-30
|
1KB
|
36 lines
This program allows you to debug your Rexx external functions (written in
'C') under IPMD in a relatively straight forward manner.
It is being released into the public domain by the author:
Dave Boll
Compuserve : 74170,2016
IBMLink : USFMCFKF
=============================================================================
Syntax:
TESTRFNC rexxpgmname funcname dllname
where:
rexxpgmname = name of Rexx program from which your external function is
called (for instance, you could use "rexxtry").
funcname = name of 'C' function which implements your external function
dllname = name of DLL in which your 'C' function resides
To use, start TESTRFNC under IPMD, set breakpoint at line:
funcrc = (*prxfunc)((PSZ)name,(ULONG)numargs,(PRXSTRING)&args[0],
(PSZ)queuename,(PRXSTRING)retstr);
then run TESTRFNC. When IPMD stops at breakpoint, do a "step Into" (I) and
you will step into your function's code.
You must have compiled your external function code with "/Ti" (debug) and have
linked with "/CO" or "/DE" (debug) in order to debug your code at the source
level under IPMD.