Ejemplo n.º 1
0
 private void _mb_DataArrived(ZMQMailbox.DreyEventArgs args)
 {
     if (args is ZMQMailbox.GetProgramEventArgs gp)
     {
         DebuggerUI.UpdateProgram(gp.Program);
     }
     else if (args is ZMQMailbox.AnnounceEventArgs aa)
     {
         DebuggerUI.UpdateAnnounce(aa.State);
     }
     else if (args is ZMQMailbox.BreakPointEventArgs bp)
     {
         DebuggerUI.Breakpoint(bp.Address, bp.Set);
     }
     else if (args is ZMQMailbox.DebugMessageEventArgs dm)
     {
         DebuggerUI.DebugMessage(dm.Message);
     }
 }