/// <summary> /// Initializes a new instance of the <see cref="DbgEngDll"/> class. /// </summary> /// <param name="client">The debugger client interface.</param> public DbgEngDll(IDebugClient client) { originalClient = client; threadClient = client; stateCache = new StateCache(this); }
/// <summary> /// Initializes a new instance of the <see cref="ProcessSwitcher" /> class. /// </summary> /// <param name="stateCache">The state cache.</param> /// <param name="process">The process.</param> public ProcessSwitcher(StateCache stateCache, Process process) { stateCache.SwitchProcess(process); }
/// <summary> /// Initializes a new instance of the <see cref="ThreadSwitcher" /> class. /// </summary> /// <param name="stateCache">The state cache.</param> /// <param name="thread">The thread.</param> public ThreadSwitcher(StateCache stateCache, Thread thread) { stateCache.SwitchThread(thread); }
/// <summary> /// Initializes a new instance of the <see cref="StackFrameSwitcher" /> class. /// </summary> /// <param name="stateCache">The state cache.</param> /// <param name="stackFrame">The stack frame.</param> public StackFrameSwitcher(StateCache stateCache, StackFrame stackFrame) { stateCache.SwitchStackFrame(stackFrame); }