Forces execution to continue as close as possible to the given code context, in the context of the given frame.
HRESULT SetNextStatement( IDebugStackFrame* pStackFrame, IDebugCodeContext* pCodeContext );
- pStackFrame
[in] The stack frame object. This argument may be NULL, which implies the current stack frame should be used.
- pCodeContext
[in] The code context. This argument may be NULL, which implies the current code context should be used.
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. |
This method forces execution to continue as close as possible to the code context specified by pCodeContext, in the context of the frame specified by pStackFrame. Either of these arguments may be NULL, representing the current frame or context.