public void addBreakPointAndNotifyMe(int startAddress, int endAddress, BreakPointEventDelegate me, Dispatcher dispatcher, IBreakpointReturn owner) { VICECOMManager vc = VICECOMManager.getVICEComManager(); string command = string.Format("break {0:X4} {1:X4}", startAddress, endAddress); vc.addTextCommand(command, CommandStruct.eMode.DoCommandReturnResults, bpd_addBreak, new CallBackStruct { me = me, owner = owner }, dispatcher); }
public void addWatchPointAndNotifyMe(int startAddress, int endAddress, BreakPointEventDelegate me, Dispatcher dispatcher, bool load, bool store, IBreakpointReturn owner) { VICECOMManager vc = VICECOMManager.getVICEComManager(); string pre = String.Empty; if (load) { pre += "load "; } if (store) { pre += "store "; } string command = string.Format("watch {0:s} {1:X4} {2:X4}", pre, startAddress, endAddress); vc.addTextCommand(command, CommandStruct.eMode.DoCommandReturnResults, bpd_addBreak, new CallBackStruct { me = me, owner = owner }, dispatcher); }