On Sat, 30 Dec 2006 16:40:12 +0100, Lindy Mayfield wrote:
> 
> Does anyone know how one might write a full-screen Rexx debugger, like z/XDC 
> or Xpediter?  I've
> spent a couple of evenings digging through the Rexx Reference, but so far 
> I've not stumbled on a
>  way to do it.  Or even if it can be done.
> 
Debugging an interpreted language likely requires getting intimate with the
interpreter.  And Rexx makes this particularly difficult by compiling the
Rexx source into an internal text of undocumented format.  (Long ago there
was a user mod to CMS Rexx that saved the internal text to a file for
interpreting later -- the common man's Rexx compiler, now displaced by
IBM's own.  Nor do I know whether the source code for CMS Rexx remains
available.)

> Any hints or ideas?  I also asked on the Rexx list, but it is holiday season.
> 
You might do better to start with an open-source Rexx such as Regina or Rexx-IMC
and hack the interpreter source.  Either way you'd need to create the screen
handling routines de novo.  And my prejudice woud be that such a facility
should be available alike whether the Rexx EXEC was called:

o Under TSO

o Under a Unix System Services shell

o From the Rexx API outside TSO.

-- gil
-- 
StorageTek
INFORMATION made POWERFUL

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to