Ejemplo n.º 1
0
 public void clearAllBreakPointsInRam(RAM ram) {
   if (ram == null) {
     return;
   }
   for (RAMLocation rLoc : ram.data()) {
     rLoc.setBreak(false);
   }
 }
Ejemplo n.º 2
0
 public void setBreakPointsInRam(RAM ram) {
   if (ram == null) {
     return;
   }
   for (RAMLocation rLoc : ram.data()) {
     if (rLoc.getSourceLine() == null) {
       continue;
     } else {
       DebugCellData correspondingData =
           debugListView.getItems().get(rLoc.getSourceLine().getLine());
       rLoc.setBreak(correspondingData.getIsBreakPoint());
     }
   }
 }