47 self.itemDoubleClicked.connect(self.__itemDoubleClicked) |
47 self.itemDoubleClicked.connect(self.__itemDoubleClicked) |
48 |
48 |
49 self.setWhatsThis(self.trUtf8( |
49 self.setWhatsThis(self.trUtf8( |
50 """<b>Exceptions Logger</b>""" |
50 """<b>Exceptions Logger</b>""" |
51 """<p>This windows shows a trace of all exceptions, that have""" |
51 """<p>This windows shows a trace of all exceptions, that have""" |
52 """ occured during the last debugging session. Initially only the""" |
52 """ occured during the last debugging session. Initially only""" |
53 """ exception type and exception message are shown. After""" |
53 """ the exception type and exception message are shown. After""" |
54 """ the expansion of this entry, the complete call stack as reported""" |
54 """ the expansion of this entry, the complete call stack as""" |
55 """ by the client is show with the most recent call first.</p>""" |
55 """ reported by the client is show with the most recent call""" |
|
56 """ first.</p>""" |
56 )) |
57 )) |
57 |
58 |
58 self.menu = QMenu(self) |
59 self.menu = QMenu(self) |
59 self.menu.addAction(self.trUtf8("Show source"), self.__openSource) |
60 self.menu.addAction(self.trUtf8("Show source"), self.__openSource) |
60 self.menu.addAction(self.trUtf8("Clear"), self.clear) |
61 self.menu.addAction(self.trUtf8("Clear"), self.clear) |
112 excitm = QTreeWidgetItem(itm) |
113 excitm = QTreeWidgetItem(itm) |
113 excitm.setText(0, "{0}, {1:d}".format(entry[0], entry[1])) |
114 excitm.setText(0, "{0}, {1:d}".format(entry[0], entry[1])) |
114 |
115 |
115 def debuggingStarted(self): |
116 def debuggingStarted(self): |
116 """ |
117 """ |
117 Public slot to clear the listview upon starting a new debugging session. |
118 Public slot to clear the listview upon starting a new debugging |
|
119 session. |
118 """ |
120 """ |
119 self.clear() |
121 self.clear() |
120 |
122 |
121 def __openSource(self): |
123 def __openSource(self): |
122 """ |
124 """ |