Debugger/DebugUI.py

branch
6_0_x
changeset 4190
d9693316149f
parent 4022
f5f42921717e
child 4191
47341b626127
equal deleted inserted replaced
4188:447bd181896b 4190:d9693316149f
997 self.viewmanager.setFileLine(fn, line) 997 self.viewmanager.setFileLine(fn, line)
998 if not forStack: 998 if not forStack:
999 self.__getThreadList() 999 self.__getThreadList()
1000 self.__getClientVariables() 1000 self.__getClientVariables()
1001 1001
1002 self.debugActGrp.setEnabled(True)
1003 self.debugActGrp2.setEnabled(True)
1004
1002 def __clientExit(self, status): 1005 def __clientExit(self, status):
1003 """ 1006 """
1004 Private method to handle the debugged program terminating. 1007 Private method to handle the debugged program terminating.
1005 1008
1006 @param status exit code of the debugged program (int) 1009 @param status exit code of the debugged program (int)
1238 self.debugViewer.showVariables(variables, False) 1241 self.debugViewer.showVariables(variables, False)
1239 elif scope == -1: 1242 elif scope == -1:
1240 vlist = [('None', '', '')] 1243 vlist = [('None', '', '')]
1241 self.debugViewer.showVariables(vlist, False) 1244 self.debugViewer.showVariables(vlist, False)
1242 1245
1243 if scope < 1:
1244 self.debugActGrp.setEnabled(True)
1245 self.debugActGrp2.setEnabled(True)
1246
1247 def __clientVariable(self, scope, variables): 1246 def __clientVariable(self, scope, variables):
1248 """ 1247 """
1249 Private method to write the contents of a clients classvariable to 1248 Private method to write the contents of a clients classvariable to
1250 the user interface. 1249 the user interface.
1251 1250

eric ide

mercurial