Share via


StackTrace

Other versions of this page are also available for the following:

Windows Mobile SupportedWindows Embedded CE Supported

8/27/2008

This function receives a stack trace for the process being debugged.

Syntax

ULONG StackTrace(
  ULONG FramePointer,
  ULONG StackPointer,
  ULONG ProgramCounter,
  PEXTSTACKTRACE StackFrames,
  ULONG Frames
);

Parameters

  • FramePointer
    [in] Frame pointer.

    If you do not want to specify a frame pointer, set this value to zero.

  • StackPointer
    [in] Stack pointer.

    If you do not want to specify a stack pointer, set this value to zero.

  • ProgramCounter
    [in] Instruction pointer.

    If you do not want to specify an instruction pointer, set this value to zero.

  • StackFrames
    [in] Pointer to a buffer of EXTSTACKTRACE structures that is large enough to store the number of stack frames specified by the Frames parameter.
  • Frames
    [in] Maximum number of frames to fit in the buffer.

Return Value

This function returns the number of frames read in a buffer pointed to by the StackFrames parameter.

Requirements

Header wdbgexts_ce.h
Library Developer Implemented
Windows Embedded CE Windows CE 3.0 and later

See Also

Concepts

Debugger Extension Functions