共用方式為


ICorDebugManagedCallback::Break 方法

當執行程式碼串流中的指令時 Break ,通知偵錯工具。

語法

HRESULT Break (
    [in] ICorDebugAppDomain *pAppDomain,
    [in] ICorDebugThread    *thread
);

參數

pAppDomain
[在]ICorDebugAppDomain 物件的指標,代表包含中斷指令之應用程式網域。

thread
[在]ICorDebugThread 物件的指標,代表包含中斷指令之執行緒。

需求

平台: 請參閱 .NET 支援的作業系統

標題: CorDebug.idl、CorDebug.h

圖書館: CorGuids.lib

.NET 版本: 自 .NET Framework 1.0 起提供

另請參閱