IDebugApplication::HandleBreakPoint
Causes the current thread to block and sends a notification of the breakpoint to the debugger IDE.
Syntax
HRESULT HandleBreakPoint(
BREAKREASON br,
BREAKRESUMEACTION* pbra
);
Parameters
br
[in] The reason for the break.
pbra
[out] Action to take when the debugger resumes the application.
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
A language engine calls this method in the context of a thread that hits a breakpoint. This method blocks the current thread and sends a breakpoint notification to the debugger IDE. When the debugger resumes the application, the pbra
parameter specifies what action to take.
Note
The language engine may be called by the thread to do tasks such as enumerate stack frames or evaluate expressions during the breakpoint.
This method causes IApplicationDebugger::onHandleBreakPoint
to be called.
See also
IDebugApplication Interface
IApplicationDebugger::onHandleBreakPoint
BREAKREASON Enumeration
BREAKRESUMEACTION Enumeration