description | title | ms.date | ms.topic | f1_keywords | helpviewer_keywords | author | ms.author | manager | ms.subservice | dev_langs | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Sets or changes the pass count associated with this bound breakpoint. |
IDebugBoundBreakpoint2::SetPassCount |
11/04/2016 |
reference |
|
|
maiak |
maiak |
mijacobs |
debug-diagnostics |
|
Sets or changes the pass count associated with this bound breakpoint.
int SetPassCount(
BP_PASSCOUNT bpPassCount
);
HRESULT SetPassCount(
BP_PASSCOUNT bpPassCount
);
bpPassCount
[in] The BP_PASSCOUNT structure that specifies the pass count.
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).
The pass count determines when the breakpoint is fired. The current pass or hit count can be obtained by calling the GetHitCount method.
Any pass count that was previously associated with this breakpoint is lost.