public void Dispose() { Terminating = true; MsgSerial.Dispose(); MsgSerial = null; if (NotifSerial != null) { NotifSerial.Dispose(); NotifSerial = null; } }
public bool Init(string PipeName, string BinFolderPath, string AssemblyName) { DebugData = new DebugDataReader(); DebugData.ReadDataFiles(BinFolderPath, AssemblyName); try { DebugData.ReadLibraryInfo(BinFolderPath, AssemblyName); } catch (Exception ex) { } MsgSerial = new Serial(); NotifSerial = new Serial(); MsgSerial.OnConnected += MsgSerial_OnConnected; return MsgSerial.Init(PipeName + "_Msg") && NotifSerial.Init(PipeName + "_Notif"); }
public Debugger() { MsgSerial = new Serial(); }