The where command shows the call stack for your current process. To print a procedure traceback:
where
To print the number top frames in the traceback:
where number
To start the traceback from frame number:
where -f number
where -h
where -q
To include function args and line info:
where -v
Any of the previous commands may be followed by a thread or LWP ID to view the call stack.