C# Class CsDebugScript.Engine.Debuggers.DbgEngDllHelpers.StackFrameSwitcher

Used for scoped stack frame switching. using (var switcher = new StackFrameSwitcher(stackFrame)) { // Invoke DbgEng.dll interface function } Use this class for accessing stack frame information from DbgEng.dll interfaces to insure correct stack frame information access. For performance reasons, after using scope, previous stack frame won't be set until it is needed. Always use this class to insure correctness.
Inheritance: IDisposable
Mostrar archivo Open project: southpolenator/WinDbgCs Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

StackFrameSwitcher ( StateCache stateCache, StackFrame stackFrame ) : System

Initializes a new instance of the StackFrameSwitcher class.

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

StackFrameSwitcher() public method

Initializes a new instance of the StackFrameSwitcher class.
public StackFrameSwitcher ( StateCache stateCache, StackFrame stackFrame ) : System
stateCache StateCache The state cache.
stackFrame StackFrame The stack frame.
return System