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