Don't forget you can display the value of any Rexx variable from a debugging
session by typing Say Foo (or Say C2X(Foo) etc.).

I could see mapping function keys such that you could put the cursor on any
variable name in the display and hitting the PF key would insert Say Foo or
Say C2X(Foo), etc.

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Charles Mills
Sent: Saturday, December 30, 2006 11:50 AM
To: [email protected]
Subject: Re: How to write a full-screen Rexx debugger?

What if you:

- Built a full-screen application with two panes. The upper pane would be
for output. A user could scroll up and down through the output, so s/he
could readily see output produced earlier in the session.

- The lower pane would be for input. A user could either type a command, or
select and edit a previous command, like ISPF function 6. Perhaps there
could be some good way of copying addresses from the output pane to the
input.

- Replaced the I/O routine as described in the doc. Emulated non-terminal
I/O "as-is." Trapped all Say and Trace output (I believe Trace "uses" Say)
and displayed it in the upper pane. Supplied input from the lower pane.
Perhaps PF keys could be mapped to common commands like "=".

- You might have your own call to IRXIC to turn tracing on and off.

You would not do any "interrupting" yourself. You would just trap and
display Rexx TRACE output.

----------------------------------------------------------------------
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