Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

List Call Stack Command

Displays the current call stack.

Debug.ListCallStack [/Count:number] [/ShowTypes:yes|no] [/ShowNames:yes|no] [/ShowValues:yes|no] [/ShowModule:yes|no] [/ShowLineOffset:yes|no] [/ShowByteOffset:yes|no] [/ShowLanguage:yes|no] [/IncludeCallsAcrossThreads:yes|no] [index]

Arguments

index
Optional. Sets the current stack frame and displays no output.

Switches

/Count:number or /C:number
Optional. Maximum number of calls stacks to display. The default value is unlimited.
/ShowTypes:yes|no or /T:yes|no
Optional. Specified whether to display parameter types. Default value is yes.
/ShowNames:yes|no or /N:yes|no
Optional. Specified whether to display parameter names. Default value is yes.
/ShowValues:yes|no or /V:yes|no
Optional. Specified whether to display parameter values. Default value is yes.
/ShowModule:yes|no or /M:yes|no
Optional. Specified whether to display the module name. Default value is yes.
/ShowLineOffset:yes|no or /#:yes|no
Optional. Specified whether to display the line offset. Default value is no.
/ShowByteOffset:yes|no or /B:yes|no
Optional. Specified whether to display the byte offset. Default value is no.
/ShowLanguage:yes|no or /L:yes|no
Optional. Specifies whether to display the language. Default value is no.
/IncludeCallsAcrossThreads:yes|no or /I:yes|no
Optional. Specified whether to include calls to or from other threads. Default value is no.

Remarks

If you issue Debug.ListCallStack by itself, the entire call stack displays. If you specify an index, for example, Debug.ListCallStack 2, then the current stack frame is set to that frame (in this case, the second frame).

You can also use this with the command's pre-defined alias, kb. For example, you can enter kb 2 to set the current stack frame to the second frame.

Changes made to the arguments or switches apply to future invocations of this command.

Example

>Debug.CallStack /Count:4 /ShowTypes:yes

See Also

Visual Studio Commands with Arguments | Command Window | Find/Command Box | List Disassembly Command | List Programs Command | List Threads Command | Pre-defined Visual Studio Command Aliases

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft