Example #1
0
 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)
Example #2
0
 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.')
Example #3
0
 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.')
Example #4
0
 def display_object(self, w, state):
     if state:
         value = pyrasite.inspect(self.pid, w.obj.max_address)
         self.object_output.set_text(value)
Example #5
0
 def display_object(self, w, state):
     if state:
         value = pyrasite.inspect(self.pid, w.obj.max_address)
         self.object_output.set_text(value)