home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!zaphod.mps.ohio-state.edu!uwm.edu!psuvax1!psuvm!lrl
- Organization: Penn State University
- Date: Fri, 18 Dec 1992 11:07:06 EST
- From: Linda Littleton <LRL@psuvm.psu.edu>
- Message-ID: <92353.110706LRL@psuvm.psu.edu>
- Newsgroups: comp.lang.rexx
- Subject: Re: PARSE CALLER
- Lines: 16
-
- My major reason for suggesting PARSE CALLER is for debugging. Imagine a
- complex system with many separate Rexx programs calling each other, and
- imagine that one particular Rexx program which is called by many
- different programs is getting a strange error. You need to figure out
- the circumstances under which this program was called, that is, you need
- to know which other program made the call to the program that's getting
- the error.
-
- You might argue that all I need to do is turn off SIGNAL ON SYNTAX, put
- in a line that will cause an error to happen, and voila, I'll see the
- trace back. However, this method is only useful if the error I'm
- looking for occurs on the first call.
-
- BTW, I'm not sure PARSE CALLER is the right way to do this. The
- information I'd like to get is not just who called me, but who called
- her and so forth all the way back.
-