Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Stack Trace (Example)
◄Summary► ◄Description► ◄Notes► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
>K
analyze(67,0), line 94
countwords(0,512), line 73
main(2,5098)
>
The example above shows the functions on the stack in the reverse
order in which they were called. Since 'analyze' is on the top, it
has been called most recently; in other words, it is the current
function.
Each function is shown with the arguments it was passed, along
with the last source line that it had been executing.
NOTE: The function main is shown with the following command-line
arguments:
■ argc, which is equal to 2
■ argv, which is a pointer equal to 5,098 decimal
Since the language is C, the function main is always on
the bottom of the stack.
-♦-