Mail Archives: djgpp/1999/11/22/20:34:38
> "Call Frame Traceback".
When one function calls another function, it sets aside part of the
stack for its local variables and such. It uses a linked list to link
them together, and uses a register to point to it's own area. This
area is the "stack frame" for that function. At any given time, you
can scan the linked list and see all the currently pending function
calls. If you list them back from the first one (the current
function), it traces back through the function calls and shows you how
you got to where you are from main(). That's a call frame traceback.
Why the debugger is giving it to you is a different problem, but it
often tells you where the program "was" when it crashed.
- Raw text -