다음을 통해 공유


IDebugProgram2::Continue

Continues running this program from a stopped state. Any previous execution state (such as a step) is preserved, and the program starts executing again.

참고

This method is deprecated. Use the IDebugProcess3::Continue method instead.

HRESULT Continue( 
   IDebugThread2* pThread
);
int Continue( 
   IDebugThread2 pThread
);

Parameters

  • pThread
    [in] An IDebugThread2 object that represents the thread.

Return Value

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

Remarks

This method is called on this program regardless of how many programs are being debugged, or which program generated the stopping event. The implementation must retain the previous execution state (such as a step) and continue execution as though it had never stopped before completing its prior execution. That is, if a thread in this program was doing a step-over operation and was stopped because some other program stopped, and then this method was called, the program must complete the original step-over operation.

경고

Do not send a stopping event or an immediate (synchronous) event to IDebugEventCallback2::Event while handling this call; otherwise the debugger might stop responding.

See Also

Reference

IDebugEngineProgram2

IDebugEventCallback2::Event