Debugger/ExceptionLogger.py

branch
Py2 comp.
changeset 2677
3d4277929fb3
parent 2525
8b507a9a2d40
parent 2622
08cc2f31c983
child 3057
10516539f238
equal deleted inserted replaced
2670:e60ea6cb8e11 2677:3d4277929fb3
106 itm.setText(0, "{0}".format(exceptionType)) 106 itm.setText(0, "{0}".format(exceptionType))
107 else: 107 else:
108 itm.setText(0, "{0}, {1}".format(exceptionType, exceptionMessage)) 108 itm.setText(0, "{0}, {1}".format(exceptionType, exceptionMessage))
109 109
110 # now add the call stack, most recent call first 110 # now add the call stack, most recent call first
111 for fn, ln in stackTrace: 111 for entry in stackTrace:
112 excitm = QTreeWidgetItem(itm) 112 excitm = QTreeWidgetItem(itm)
113 excitm.setText(0, "{0}, {1:d}".format(fn, ln)) 113 excitm.setText(0, "{0}, {1:d}".format(entry[0], entry[1]))
114 114
115 def debuggingStarted(self): 115 def debuggingStarted(self):
116 """ 116 """
117 Public slot to clear the listview upon starting a new debugging session. 117 Public slot to clear the listview upon starting a new debugging session.
118 """ 118 """

eric ide

mercurial