Debugger/ExceptionLogger.py

changeset 2622
08cc2f31c983
parent 2302
f29e9405c851
child 2677
3d4277929fb3
child 2988
f53c03574697
equal deleted inserted replaced
2621:ab5918079c38 2622:08cc2f31c983
104 itm.setText(0, "{0}".format(exceptionType)) 104 itm.setText(0, "{0}".format(exceptionType))
105 else: 105 else:
106 itm.setText(0, "{0}, {1}".format(exceptionType, exceptionMessage)) 106 itm.setText(0, "{0}, {1}".format(exceptionType, exceptionMessage))
107 107
108 # now add the call stack, most recent call first 108 # now add the call stack, most recent call first
109 for fn, ln in stackTrace: 109 for entry in stackTrace:
110 excitm = QTreeWidgetItem(itm) 110 excitm = QTreeWidgetItem(itm)
111 excitm.setText(0, "{0}, {1:d}".format(fn, ln)) 111 excitm.setText(0, "{0}, {1:d}".format(entry[0], entry[1]))
112 112
113 def debuggingStarted(self): 113 def debuggingStarted(self):
114 """ 114 """
115 Public slot to clear the listview upon starting a new debugging session. 115 Public slot to clear the listview upon starting a new debugging session.
116 """ 116 """

eric ide

mercurial