Causes the current thread to block and sends a notification of the breakpoint to the debugger IDE.
HRESULT HandleBreakPoint( BREAKREASON br, BREAKRESUMEACTION* pbra );
- br
[in] The reason for the break.
- pbra
[out] Action to take when the debugger resumes the application.
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. |
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.