共用方式為


ICorDebugController::Continue 方法

在呼叫 ICorDebugController::Stop 方法 之後,繼續執行 Managed 執行緒。

HRESULT Continue (
    [in] BOOL fIsOutOfBand
);

參數

  • fIsOutOfBand
    [in] 如果從 Out-of-Band 事件繼續執行,則設為 true,否則設為 false。

備註

Continue 會在呼叫 ICorDebugController::Stop 方法之後,繼續執行處理序。

執行混合模式偵錯時,不能在 Win32 事件執行緒上呼叫 Continue (除非它是從 Out-of-Band 事件繼續)。

「In-Band 事件」(In-Band Event) 是偵錯工具支援與處理序的 Managed 狀態互動期間,所使用的 Managed 事件或正常 Unmanaged 事件。 在此情況下,偵錯工具會接收 ICorDebugUnmanagedCallback::DebugEvent 回呼,此回呼的 fOutOfBand 參數則會設為 false。

「Out-Of-Band 事件」(Out-Of-Band Event) 是當處理序因事件而停止時,可能與處理序的 Managed 狀態互動期間所使用的 Unmanaged 事件。 在此情況下,偵錯工具會接收 ICorDebugUnmanagedCallback::DebugEvent 回呼,此回呼的 fOutOfBand 參數則會設為 true。

需求

**平台:**請參閱 .NET Framework 系統需求

**標頭:**CorDebug.idl、CorDebug.h

**程式庫:**CorGuids.lib

**.NET Framework 版本:**4、3.5 SP1、3.5、3.0 SP1、3.0、2.0 SP1、2.0、1.1、1.0

請參閱

參考

ICorDebugController 介面