Share via


IDebugCodeContext::SetBreakPoint

Sets or clears a breakpoint at this code context.

Syntax

HRESULT SetBreakPoint(  
   BREAKPOINT_STATE  bps  
);  

Parameters

bps
[in] Specifies the breakpoint state for this code context.

Return Value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Value Description
S_OK The method succeeded.

Remarks

This method sets or clears a breakpoint at this code context.

See also

IDebugCodeContext Interface
BREAKPOINT_STATE Enumeration