Debugging Tools for Windows |
The SetExceptionFilterSecondCommand and SetExceptionFilterSecondCommandWide methods set the command that will be executed by the debugger engine on the second chance of a specified exception.
HRESULT
IDebugControl::SetExceptionFilterSecondCommand(
IN ULONG Index,
IN PCSTR Command
);
HRESULT
IDebugControl3::SetExceptionFilterSecondCommandWide(
IN ULONG Index,
IN PCWSTR Command
);
#ifdef UNICODE
#define SetExceptionFilterSecondCommandT SetExceptionFilterSecondCommandWide
#else
#define SetExceptionFilterSecondCommandT SetExceptionFilterSecondCommand
#endif
This method may also return error values. See Return Values for more details.
SetExceptionFilterSecondCommand is available in all versions of IDebugControl. SetExceptionFilterSecondCommandWide is available in IDebugControl3 and later versions.
For more information about event filters, see Event Filters.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.
sx, sxd, sxe, sxi, sxn (Set Exceptions), GetExceptionFilterSecondCommand, SetEventFilterCommand