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 """ |