The information from a context record can be used to assist in debugging a system halt where an unhandled exception has occurred and an exact stack trace is not available. The
.cxr command displays the important registers for the specified context record.
This command also instructs the debugger to use the specified context record as the register context. After this command is executed, the debugger will have access to the most important registers and the stack trace for this thread. This register context persists until you allow the target to execute or use another register context command (
.thread,
.ecxr,
.trap , or
.cxr again). In user mode, it will also be reset if you change the current process or thread. See
Register Context for details.
The
.cxr command is often used to debug bug check 0x1E. For more information and an example, see
Bug Check 0x1E (KMODE_EXCEPTION_NOT_HANDLED).