Udostępnij za pośrednictwem


IDebugExceptionEvent2::CanPassToDebuggee

Determines whether or not the debug engine (DE) supports the option of passing this exception to the program being debugged when execution resumes.

HRESULT CanPassToDebuggee(
   void
);
int CanPassToDebuggee();

Return Value

Returns either S_OK (the exception can be passed to the program) or S_FALSE (the exception cannot be passed on).

Remarks

The DE must have a default action for passing to the debuggee. The IDE may receive the IDebugExceptionEvent2 event and call the IDebugProcess3::Continue method without calling the CanPassToDebuggee method. Therefore, the DE should have a default case for passing the exception on or not.

See Also

Reference

IDebugExceptionEvent2

IDebugProcess3::Continue