Partager via


IDebugEngine2::SetException

Specifies how the debug engine (DE) should handle a given exception.

HRESULT SetException( 
   EXCEPTION_INFO* pException
);
int SetException( 
   EXCEPTION_INFO[] pException
);

Parameters

  • pException
    [in] An EXCEPTION_INFO structure that describes the exception and how to debug it.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

A DE could be instructed to stop the program generating an exception at first chance, second chance, or not at all.

See Also

Reference

IDebugEngine2

EXCEPTION_INFO