Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.


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

HRESULT execute ( 
   IDiaStackWalkFrame* frame



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

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

Value Description


Cannot execute a stack frame while in prologue code.


Parse error encountered in frame program.


Unable to access registers or memory.


Error in computation of a value (for example, division by zero).

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.

Community Additions

© 2015 Microsoft