Causes the application to break into the debugger at the earliest opportunity.
HRESULT CauseBreak();
This method takes no parameters.
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. |
Calling this method does not cause an application to break immediately. If the application is not currently executing script code, a long time may elapse before the application actually breaks.