home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / testrf.zip / testrfnc.doc < prev    next >
Text File  |  1993-12-30  |  1KB  |  36 lines

  1. This program allows you to debug your Rexx external functions (written in
  2. 'C') under IPMD in a relatively straight forward manner.
  3.  
  4. It is being released into the public domain by the author:
  5.   Dave Boll
  6.   Compuserve : 74170,2016
  7.   IBMLink    : USFMCFKF
  8.  
  9. =============================================================================
  10.  
  11. Syntax:
  12.  
  13.   TESTRFNC  rexxpgmname  funcname  dllname
  14.  
  15. where:
  16.  
  17.   rexxpgmname = name of Rexx program from which your external function is
  18.                 called (for instance, you could use "rexxtry").
  19.   funcname    = name of 'C' function which implements your external function
  20.   dllname     = name of DLL in which your 'C' function resides
  21.  
  22.  
  23. To use, start TESTRFNC under IPMD, set breakpoint at line:
  24.  
  25.   funcrc = (*prxfunc)((PSZ)name,(ULONG)numargs,(PRXSTRING)&args[0],
  26.                       (PSZ)queuename,(PRXSTRING)retstr);
  27.  
  28. then run TESTRFNC.  When IPMD stops at breakpoint, do a "step Into" (I) and
  29. you will step into your function's code.
  30.  
  31. You must have compiled your external function code with "/Ti" (debug) and have
  32. linked with "/CO" or "/DE" (debug) in order to debug your code at the source
  33. level under IPMD.
  34.  
  35.  
  36.