IDebugControl::SetInterruptTimeout method (dbgeng.h)
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
[in] Seconds
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 code | Description |
---|---|
|
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
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | dbgeng.h (include Dbgeng.h) |