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.