Debug Tutorial: How to Examine Stack

Command syntax:
where [ context ] [ count ]

A stack traceback lists the call sequence which got the program to its current execution point. The traceback is displayed such that the first procedure listed indicates the current point of execution.


Examples:

(all) > where
***** (0) *****
one(int) [hello.c{} #7]
main(void) [hello.c{} #24]
cstart() [unknown{} 0x00025646]
????() [hello.c{} 0x00020120]
***** (1) *****
main(void) [hello.c{} #24]
cstart() [unknown{} 0x00025646]
????() [hello.c{} 0x00020120]
(all) > where(0) 1
***** (0) *****
one(int) [hello.c{} #7]

Intel Tutorial Notes Previous -- Next
Acknowledgement and Disclaimer