Skip to content

Latest commit

 

History

History
58 lines (45 loc) · 1.71 KB

stacktrace-simplecontext-structure.md

File metadata and controls

58 lines (45 loc) · 1.71 KB
description title ms.date api_name api_location api_type f1_keywords helpviewer_keywords ms.assetid topic_type
Learn more about: StackTrace_SimpleContext Structure
StackTrace_SimpleContext Structure
03/30/2017
StackTrace_SimpleContext
diasymreader.dll
COM
SimpleContext
SimpleContext structure [.NET Framework debugging]
StackTrace_SimpleContext structure [.NET Framework debugging]
d4cef11f-a8ca-49bc-a1b8-6631f9e28f3e
apiref

StackTrace_SimpleContext Structure

Provides a simple context that can be used in place of a full CONTEXT structure.

Syntax

struct StackTrace_SimpleContext  
{  
    ULONG64 StackOffset;       // ESP on x86  
    ULONG64 FrameOffset;       // EBP on x86  
    ULONG64 InstructionOffset; // EIP on x86  
};  

Members

Member Description
StackOffset The stack pointer, or the enter stack pointer (ESP) on x86 platforms.
FrameOffset The frame offset, or the EBP register on x86 platforms.
InstructionOffset The instruction pointer, or the enter instruction pointer (EIP) on x86 platforms.

Remarks

Because stack trace functions typically need to return only the address, frame offset, and stack address, you can optionally use the SimpleContext structure instead of a large CONTEXT structure.

Requirements

Platforms: See System Requirements.

Header: SOS_Stacktrace.h

.NET Framework Versions: [!INCLUDEnet_current_v20plus]

See also