Esempio n. 1
0
 private String toString(Address pc, DisassembledLine line) {
   final Address realAddress = line.getAddress();
   return createLinePrefix(pc, realAddress, line)
       + Misc.toHexString(realAddress)
       + ": "
       + line.getContents();
 }
Esempio n. 2
0
 public Object getValueAt(int rowIndex, int columnIndex) {
   final Breakpoint bp = breakPoints.get(rowIndex);
   switch (columnIndex) {
     case COL_BP_ENABLED:
       return bp.isEnabled();
     case COL_BP_ADDRESS:
       return Misc.toHexString(bp.getAddress());
     case COL_BP_EXPRESSION:
       return bp.hasCondition() ? bp.getCondition() : UNCONDITIONAL_BREAKPOINT;
     default:
       return "<unknown column>";
   }
 }