![]() The subsequent lines represent frame numbers 1, 2, 3, and so on. The first line (the current frame) is frame number 0. You can view this stack trace with the k (Display Stack Backtrace) command or the Calls window. The frame number is the position of the stack frame within the stack trace. frame command and specify the frame number that you want. frame command, the debugger uses the scope of the current function (the current frame on the stack) as the local context. When an application is running, the meaning of local variables depends on the location of the program counter, because the scope of such variables extends only to the function that they are defined in. For more information about how to display local variables and other memory-related commands, see Reading and Writing Memory. Environmentįor more information about the local context and other context settings, see Changing Contexts. If you omit StackPtr and InstructionPtr, the debugger uses the stack pointer that the esp register specifies and the instruction pointer that the eip register specifies. (x86-based processor only) Specifies the instruction pointer for the stack trace that is used to determine the frame. (x86-based processor only) Specifies the stack pointer for the stack trace that is used to determine the frame. For example, if the base pointer 0x0012FF00 is the address of frame 3, the command. Specifies an additional quantity of frames past the base pointer. On an x86-based processor, you add another argument after BasePtr (which is interpreted as FrameIncrement) or two more arguments after BasePtr (which are interpreted as InstructionPtr and StackPtr). Specifies the base pointer for the stack trace that is used to determine the frame, if you add an equal sign (=) after the command name (. If you omit this parameter, this command displays the current local context. If this parameter is zero, the command specifies the current frame. ![]() Specifies the number of the frame whose local context you want. This action allows a user to access the nonvolatile registers for any function in the call stack.ĭisplays registers and other information about the specified local context. Sets the specified frame as the current local override context. frame command specifies which local context (scope) is used to interpret local variables or displays the current local ame
0 Comments
Leave a Reply. |