Debugging Tools for Windows

GetInterruptTimeout

The GetInterruptTimeout method returns the number of seconds that the engine will wait when requesting a break into the debugger.

HRESULT
  IDebugControl::GetInterruptTimeout(
    OUT PULONG  Seconds
    );

Parameters

Seconds
Receives the number of seconds that the engine will wait for the target when requesting a break into the debugger.

Return Value

S_OK
The method was successful.

This method may also return error values. See Return Values for more details.

Interface Version

GetInterruptTimeout is available in all versions of IDebugControl.

Comments

The engine requests a break into the debugger when SetInterrupt is called with DEBUG_INTERRUPT_ACTIVE. If this interrupt times out, the engine will generate a synthetic exception event. This event will be sent to event callback objects's IDebugEventCallbacks::Exception method.

Most targets do not support interrupt time-outs. Live user-mode debugging is one of the targets that does support them.

Requirements

Headers: Defined in Dbgeng.h. Include Dbgeng.h.

See Also

IDebugEventCallbacks::Exception, SetInterrupt, SetInterruptTimeout

Build machine: CAPEBUILD