Freigeben über


ISetNextStatement::CanSetNextStatement

This method determines whether the execution point, which determines the next statement of code to be executed, can be set to the specified location.

Syntax

HRESULT CanSetNextStatement(  
   IDebugStackFrame*  pStackFrame,  
   IDebugCodeContext*  pCodeContext  
)  

Parameters

pStackFrame
[in] Pointer to a stack frame object.

pCodeContext
[in] Pointer to a code context object.

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 next statement can be updated to the specified code context.
S_FALSE The next statement cannot be updated to the specified code context.

Remarks

See also

ISetNextStatement Interface