次の方法で共有


StackTrace (Compact 2013)

3/26/2014

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

See Also

Reference

Debugger Extension Functions