def highlight_instr_pointer(self, ip):
""" Removes old instruction pointer highlights and creates a new one """
if self.instr_pointer is not None:
self.get_widget('stack').clear_highlight(self.instr_pointer)
self.highlight_bytes_at_address('stack', ip, 1, Qt.red)
self.instr_pointer = ip
评论列表
文章目录