Exemplo n.º 1
0
        public static bool TestBreakpoint(BreakpointEntry entry)
        {
            if (!_enableBreakpoints)
            {
                return(false);
            }

            return((_breakPoints[entry.Address & Memory.SizeMask] & entry.Type) != 0);
        }
Exemplo n.º 2
0
 public static void SetBreakpoint(BreakpointEntry entry)
 {
     if (entry.Type == BreakpointType.None)
     {
         _breakPoints[entry.Address & Memory.SizeMask] = BreakpointType.None;
     }
     else
     {
         _breakPoints[entry.Address & Memory.SizeMask] |= entry.Type;
     }
 }