Example #1
0
File: app.py Project: iGio90/Dwarf
 def _on_add_breakpoint(self, breakpoint):
     try:
         # set highlight
         ptr = breakpoint.get_target()
         ptr = utils.parse_ptr(ptr)
         self.debug_panel.memory_panel.add_highlight(
             HighLight('breakpoint', ptr, self.dwarf.pointer_size))
     except HighlightExistsError:
         pass
Example #2
0
File: app.py Project: iGio90/Dwarf
 def _on_watchpoint_added(self, ptr):
     """ Watchpoint Entry was added
     """
     try:
         # set highlight
         self.debug_panel.memory_panel.add_highlight(
             HighLight('watchpoint', ptr, self.dwarf.pointer_size))
     except HighlightExistsError:
         pass