IDebugControl::SetInterruptTimeout method

The SetInterruptTimeout method sets the number of seconds that the debugger engine should wait when requesting a break into the debugger.

Syntax


HRESULT SetInterruptTimeout(
  [in] ULONG Seconds
);

Parameters

Seconds [in]

Specifies the number of seconds that the engine should wait for the target when requesting a break into the debugger.

Return value

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

Return codeDescription
S_OK

The method was successful.

 

Remarks

The engine requests a break into the debugger when SetInterrupt is called with the DEBUG_INTERRUPT_ACTIVE flag.

If an 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

Target platform

Desktop

Header

Dbgeng.h (include Dbgeng.h)

See also

IDebugControl
IDebugControl2
IDebugControl3
GetInterruptTimeout
IDebugEventCallbacks::Exception
SetInterrupt

 

 

Send comments about this topic to Microsoft

Show: