Edit

Share via


IDebugProgram2::Detach

Detaches a debug engine from the program.

Syntax

int Detach();

Return Value

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

Remarks

A detached program continues running, but it is no longer part of the debug session. No more program debug events are sent once the debug engine is detached.

See also