public DebugeeProcess(int processID, ICLRMetaHost iClrMetaHost, DebugEng eventDashboard)
 {
     Process debugee = Process.GetProcessById(processID);
     this.processID = (uint) processID;
     this.processName = debugee.ProcessName;
     this.iClrMetaHost = iClrMetaHost;
     ICLRRuntimeInfo iRuntime = FindRuntimeVersion(debugee.Handle);
     ICorDebug icorDebug = GetDebugger(iRuntime);
     icorDebug.Initialize();
     callback = new ManagedCallback(eventDashboard);
     icorDebug.SetManagedHandler(callback);
     ICorDebugProcess iCorProcess = null;
     icorDebug.DebugActiveProcess((uint)processID, 0, out iCorProcess);
     isDebugMode = true;
     process = new TargetProcess(iCorProcess);
 }
 public DebugFacade()
 {
     debug = new DebugEng();
 }