Compartilhar via


IDiaFrameData::execute

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Performs stack unwinding and returns results in a stack walk frame interface.

Syntax

HRESULT execute (   
   IDiaStackWalkFrame* frame  
);  

Parameters

frame
[in] An IDiaStackWalkFrame object that holds the state of frame registers.

Return Value

If successful, returns S_OK; otherwise, returns an error code. The following table shows the possible return values for this method.

Value Description
E_DIA_INPROLOG Cannot execute a stack frame while in prologue code.
E_DIA_SYNTAX Parse error encountered in frame program.
E_DIA_FRAME_ACCESS Unable to access registers or memory.
E_DIA_VALUE Error in computation of a value (for example, division by zero).

Remarks

This method is called during debugging to unwind the stack. The IDiaStackWalkFrame object is implemented by the client application to receive updates to the registers and to provide methods used by the execute method.

See Also

IDiaFrameData
IDiaStackWalkFrame