In This Chapter
Moving about the stack
How local variables are stored
Tracing through assembly code
Debuggers can be powerful things. They can leap tall computer applications in a single bound and see through them to find all their flaws. The more you know about these little debuggers, the more you can put them to use. In this chapter, we show you how to move about the stack and make use of advanced debugger features.
A stack is a common thing in the computer world. We have stacks of bills and stacks of paychecks and stacks of data. The stacks of data are interesting because, unlike bills and paychecks, they live inside the computer’s memory. But the stack metaphor is appropriate. When the operating system runs an application, it gives that application a stack, which is simply a big chunk of memory. But the data is stored just like a stack of cards: With a stack of real cards, you can put a card ...