Click to return to the Component Development home page    
IRemoteDebugApplicationTh...     IRemoteDebugApplicationTh...     IRemoteDebugApplicationTh...    
Web Workshop  |  Component Development

IRemoteDebugApplicationThread::SetNextStatement Method


Sets the next statement to execute when debugging an application.

Syntax

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

Parameters

pStackFrame
[in] Address of the IDebugStackFrame interface that specifies the next statement to execute. It can be NULL, indicating the current stack frame.
pCodeContext
[in] Address of the IDebugCodeContext interface that specifies the next statement to execute. It can be NULL, indicating the current code context.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

The SetNextStatement method forces execution to continue as closely as possible to the given code context, in the context of the given stack frame.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.