Displays information on a specified number of stack frames.
STACK [nframes|/ALL] [/FULL] [/ARGUMENTS] [/LOCALS]
where:
In this example, information is displayed on all stack frames and the arguments to each procedure.
CodeWatch> STACK /ARGUMENT /ALL Stack contains 5 frame(s). Current execution point is PRIMES.SIFT\94 5: Owner is "PRIMES.SIFT" Arguments: N = 10 {fixed binary (31)} Called from PRIMES\119 4: Owner is "PRIMES" Arguments: None Main program
Description
The STACK command is used to display information on a specified number of stack frames.
If the All option is specified, all stack frames back to your main program are displayed. There are typically a number of system start-up routines called before your main program. The frames for these start-up routines will not be displayed unless the Full option is specified. The Full option is useful only if specified in conjunction with a specified Count or the All option. If neither a specified Count nor the All option is present, only the current stack frame is displayed.
If the Arguments option is specified, the arguments to each procedure are displayed.
If the Locals option is specified, all local variables for each stack frame are displayed.