.prompt_allow (Control Prompt Display)

The .prompt_allow command controls what information is displayed during stepping and tracing and whenever the target's execution stops.

.prompt_allow {+|-}Item [...] 
.prompt_allow 

Parameters

+
Displays the specified item at the stepping, tracing, and execution prompt. You must add a space before the plus sign (+), but you cannot add a space after it.

-
Prevents the specified item from being displayed at the stepping, tracing, and execution prompt. You must add a space before the minus sign (-), but you cannot add a space after it.

Item
Specifies an item to display or not display. You can specify any number of items. Separate multiple items by spaces. You must add a plus sign (+) or minus sign (-) before each item. You can use the following items:

dis
The disassembled instructions at the current location.

ea
The effective address for the current instruction.

reg
The current state of the most important registers. You can disable register display by using the pr, tr, or .prompt_allow -reg command. All three of these commands control the same setting, and you can use any of them to override any previous use of these commands.

You can also disable register display by using the l-os command. This setting is separate from the other three commands, as described in the following Remarks section. To control which registers and flags are displayed, use the rm (Register Mask) command.

src
The source line that corresponds to the current instruction. You can disable source line display by using the l-ls or .prompt_allow -src; commands. You must enable source line display through both mechanisms to be visible.

sym
The symbol for the current instruction. This symbol includes the current module, function name, and offset.

Environment

Item Description
Modes User mode, kernel mode
Targets Live, crash dump
Platforms All

Additional Information

For more information about commands that affect execution, see Controlling the Target.

Remarks

You can use the .prompt_allow command without parameters to show which items are displayed and are not displayed. Every time that you run .prompt_allow, the debugger changes the status of only the specified items.

By default, all items are displayed.

If you have used the l+os option, this option overrides any of the .prompt_allow options other than src.

You can also use a complex command such as the following example.

0:000> .prompt_allow -reg -dis +ea 
Allow the following information to be displayed at the prompt:
(Other settings can affect whether the information is actually displayed)
   sym - Symbol for current instruction
    ea - Effective address for current instruction
   src - Source info for current instruction
Do not allow the following information to be displayed at the prompt:
   dis - Disassembly of current instruction
   reg - Register state