Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets or changes the pass count associated with this bound breakpoint.
HRESULT SetPassCount(
BP_PASSCOUNT bpPassCount
);
int SetPassCount(
BP_PASSCOUNT bpPassCount
);
Parameters
- bpPassCount
[in] The BP_PASSCOUNT structure that specifies the pass count.
Return Value
If successful, returns S_OK; otherwise, returns an error code. Returns E_BP_DELETED if the state of the bound breakpoint object is set to BPS_DELETED (part of the BP_STATE enumeration).
Remarks
The pass count determines when the breakpoint is fired. The current pass or hit count can be obtained by calling the IDebugBoundBreakpoint2::GetHitCount method.
Any pass count that was previously associated with this breakpoint is lost.