创建在当前代码位置激发的所有断点的枚举数。
HRESULT EnumBreakpoints(
IEnumDebugBoundBreakpoints2** ppEnum
);
int EnumBreakpoints(
out IEnumDebugBoundBreakpoints2 ppEnum
);
参数
- ppEnum
[out] 返回枚举所有断点与当前代码位置的 IEnumDebugBoundBreakpoints2 对象。
返回值
如果成功,则返回; S_OK否则,返回错误代码。
备注
不是在特定位置的所有断点可能在特定时间时 (例如,断点加上条件不会激发,直到该条件匹配)。