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