public void clearAllBreakPointsInRam(RAM ram) { if (ram == null) { return; } for (RAMLocation rLoc : ram.data()) { rLoc.setBreak(false); } }
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()); } } }