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: Available since 2.0
See also
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za