public MonoExpression(MonoEngine engine, MonoThread thread, ObjectValue value, string expression) { _engine = engine; _thread = thread; _value = value; _expression = expression; }
public int ExecuteOnThread(IDebugThread2 pThread) { MonoThread thread = (MonoThread)pThread; if (_softDebugger.ActiveThread != null && _softDebugger.ActiveThread.Id != thread.ID) { thread.SetActive(); } _softDebugger.Continue(); return(S_OK); }
public MonoThread Remove(long id) { if (!_threads.ContainsKey(id)) { return(null); } MonoThread thread = _threads[id]; _threads.Remove(id); return(thread); }
private void event_TargetThreadStopped(object sender, TargetEventArgs e) { MonoThread thread = _debugEngine.ThreadManager.Remove(e.Thread.Id); _debugEngine.Callback.OnThreadDestroy(thread); }
private void event_TargetThreadStarted(object sender, TargetEventArgs e) { MonoThread thread = _debugEngine.ThreadManager.AddThread(e.Thread); _debugEngine.Callback.OnThreadCreate(thread); }
public MonoStackFrame(MonoEngine engine, MonoThread thread, StackFrame frame) { _engine = engine; _thread = thread; _monoStackFrame = frame; }
public void OnExceptionThrown(ExceptionInfo info, MonoThread thread) { _callback.Event(_engine, _engine.Process, _engine, thread, new DebugEventException(_engine, info), ref DebugEventException.ID, DebugEventException.Attributes); }
public void OnExpressionEvaluated(MonoExpression expression, ObjectValue expValue, string expString, MonoThread thread) { _callback.Event(_engine, _engine.Process, _engine, thread, new DebugEventExpressionComplete(expression, expValue, expString), ref DebugEventExpressionComplete.ID, DebugEventExpressionComplete.Attributes); }
public void OnBreakpointHit(MonoPendingBreakpoint bp, MonoThread thread) { _callback.Event(_engine, _engine.Process, _engine, thread, new DebugEventBreakpointHit(bp), ref DebugEventBreakpointHit.ID, DebugEventBreakpointHit.Attributes); }
public void OnThreadDestroy(MonoThread thread) { _callback.Event(_engine, _engine.Process, _engine, thread, new DebugEventThreadDestroy(), ref DebugEventThreadDestroy.ID, DebugEventThreadDestroy.Attributes); }