protected override void HandleShowErrorMessageBox(string errorMsg) { if (AD7Engine.ShowErrorMessageBoxAction != null) { AD7Engine.ShowErrorMessageBoxAction("ILRuntime Debugger", errorMsg); } else { MessageBox.Show(errorMsg, "ILRuntime Debugger", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
public DebuggedProcess(AD7Engine engine, string host, int port) { this.engine = engine; bw = new System.IO.BinaryWriter(sendStream); socket = new DebugSocket(); socket.OnConnect = OnConnected; socket.OnConnectFailed = OnConnectFailed; socket.OnReciveMessage = OnReceiveMessage; socket.OnClose = OnClose; socket.Connect(host, port); Connecting = true; }
public AD7StackFrame(AD7Engine engine, AD7Thread thread, StackFrameInfo info) { Engine = engine; this.Thread = thread; this.StackFrameInfo = info; _functionName = info.MethodName; if (info.LocalVariables != null) { localVars = new ILProperty[info.LocalVariables.Length]; for (int i = 0; i < localVars.Length; i++) { localVars[i] = new ILProperty(info.LocalVariables[i]); propertyMapping[info.LocalVariables[i].Name] = localVars[i]; } } else { localVars = new ILProperty[0]; } docContext = new AD7DocumentContext(info); }
public AD7Thread(AD7Engine engine, int threadHash)//ThreadMirror threadMirror) { _engine = engine; this.threadHash = threadHash; }
public ILProperty(AD7Engine engine, AD7Thread thread, VariableInfo info) { this.engine = engine; this.thread = thread; this.info = info; }
internal static void Send(AD7Engine engine) { AD7ProgramCreateEvent eventObject = new AD7ProgramCreateEvent(); engine.Callback.Send(eventObject, IID, engine, null); }
public static void Send(AD7Engine engine) { AD7EngineCreateEvent eventObject = new AD7EngineCreateEvent(engine); engine.Callback.Send(eventObject, IID, null, null); }
//private AD7EngineCreateEvent(AD7Engine engine) public AD7EngineCreateEvent(AD7Engine engine) { _engine = engine; }
public AD7BoundBreakpoint(AD7Engine engine, AD7PendingBreakPoint pendingBreakpoint) { _engine = engine; _pendingBreakpoint = pendingBreakpoint; }
public DebuggedProcessVS(AD7Engine engine, string host, int port) : base(host, port) { this.engine = engine; }
public EngineCallback(AD7Engine engine, IDebugEventCallback2 pCallback) { _engine = engine; _eventCallback = pCallback; }