kt (Stack Trace for Task)


k[b|s|v]t [addr]

This command displays the stack frame of the current task or the task specified by the addr parameter. Each line shows the name of a procedure, its arguments, and the address of the statement that called it. The command displays four 2-byte arguments by default. The ka command changes the number of arguments displayed by this command.

b

Indicates the stack frame is 32 bits wide.

s

Indicates the stack frame is 16 bits wide.

v

Displays the verbose version of stack information — that is, information about stack location and frame pointer values for each frame.

addr

Specifies the segment address of the process descriptor block (PDB) for the task to be traced. To obtain the addr value, use the .dq (Dump Task Queue) command. If addr is not supplied, the kt command displays the stack frame of the current task.