def display_object(self, w, state): if state: value = pyrasite.inspect(self.pid, w.obj.max_address) if not value: value = 'Unable to inspect remote object. Make sure you have ' \ 'the python-debuginfo package installed.' self.object_output.set_text(value)
def obj_selection_cb(self, selection, model): sel = selection.get_selected() treeiter = sel[1] address = model.get_value(treeiter, 0) value = pyrasite.inspect(self.pid, address) if value: self.obj_buffer.set_text(value) else: self.obj_buffer.set_text('Unable to inspect object. Make sure you ' 'have the python debugging symbols installed.')
def obj_selection_cb(self, selection, model): sel = selection.get_selected() treeiter = sel[1] address = model.get_value(treeiter, 0) value = pyrasite.inspect(self.pid, address) if value: self.obj_buffer.set_text(value) else: self.obj_buffer.set_text( 'Unable to inspect object. Make sure you ' 'have the python debugging symbols installed.')
def display_object(self, w, state): if state: value = pyrasite.inspect(self.pid, w.obj.max_address) self.object_output.set_text(value)