IRemoteDebugApplicationThread::SetNextStatement

Forces execution to continue as close as possible to the given code context, in the context of the given frame.

Syntax

HRESULT SetNextStatement(  
   IDebugStackFrame*   pStackFrame,  
   IDebugCodeContext*  pCodeContext  
);  

Parameters

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.

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 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.

See also

IRemoteDebugApplicationThread Interface