Sdílet prostřednictvím


DkmMonitorStackWalkResult Constructor

Definition

Initialize a new DkmMonitorStackWalkResult value.

Location constraint: API must be called from a Monitor component (component level < 100,000).

public:
 DkmMonitorStackWalkResult(Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkStatus Status, Microsoft::VisualStudio::Debugger::CallStack::DkmFrameRegisters ^ NextRegisters, Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrame ^ FrameObject, System::UInt64 NextStackPointer);
public:
 DkmMonitorStackWalkResult(Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkStatus Status, Microsoft::VisualStudio::Debugger::CallStack::DkmFrameRegisters ^ NextRegisters, Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrame ^ FrameObject, unsigned long long NextStackPointer);
 DkmMonitorStackWalkResult(Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkStatus Status, Microsoft::VisualStudio::Debugger::CallStack::DkmFrameRegisters const & NextRegisters, Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrame const & FrameObject, unsigned long NextStackPointer);
public DkmMonitorStackWalkResult (Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkStatus Status, Microsoft.VisualStudio.Debugger.CallStack.DkmFrameRegisters NextRegisters, Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame FrameObject, ulong NextStackPointer);
public DkmMonitorStackWalkResult (Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkStatus Status, Microsoft.VisualStudio.Debugger.CallStack.DkmFrameRegisters? NextRegisters, Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame? FrameObject, ulong NextStackPointer);
new Microsoft.VisualStudio.Debugger.CallStack.DkmMonitorStackWalkResult : Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkStatus * Microsoft.VisualStudio.Debugger.CallStack.DkmFrameRegisters * Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame * uint64 -> Microsoft.VisualStudio.Debugger.CallStack.DkmMonitorStackWalkResult
Public Sub New (Status As DkmStackWalkStatus, NextRegisters As DkmFrameRegisters, FrameObject As DkmStackWalkFrame, NextStackPointer As ULong)

Parameters

Status
DkmStackWalkStatus

[In] Status code for the walk.

NextRegisters
DkmFrameRegisters

[In,Optional] NextRegisters is required when 'Status' is 'FrameFound'. NextRegisters is used to inform other walkers where the previous walker left off. If an walker fails to return the next registers then the walk will be truncated.

FrameObject
DkmStackWalkFrame

[In,Optional] FrameObject is required when 'Status' is 'FrameFound'. This object contains information about the stack frame.

NextStackPointer
UInt64

[In] NextStackPointer is required when 'Status' is 'OutsideOfRuntime'. This is used by the stack frame merger to advance the stack walk when frames are encountered which cannot be monitor walked (walking requires symbols). The stack frame merger will not invoke the walker again until it has progressed to this stack pointer value, and the walker should update its state so that the next call to 'WalkNextFrame' retrieves the frame at this position.

Applies to