Partager via


IApplicationDebugger::onHandleBreakPoint

Handles a breakpoint event.

Syntax

HRESULT onHandleBreakPoint(  
   IRemoteDebugApplicationThread*  prpt,  
   BREAKREASON                     br,  
   IActiveScriptErrorDebug*        pError  
);  

Parameters

prpt
[in] The thread where the breakpoint occurred.

br
[in] The reason for the breakpoint.

pError
[in] Runtime error information, provided when the value of br is BREAKREASON_ERROR.

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 is called when a breakpoint is hit and IDebugApplication::HandleBreakPoint is called.

The application will remain suspended until the debugger IDE calls IRemoteDebugApplication::ResumeFromBreakPoint.

See also

IApplicationDebugger Interface
IDebugApplication::HandleBreakPoint
IRemoteDebugApplication::ResumeFromBreakPoint
BREAKREASON Enumeration