eric6/Debugger/ExceptionLogger.py

branch
multi_processing
changeset 7564
787684e6f2f3
parent 7379
72a72fd56494
parent 7544
366c7c6582d8
child 7802
eefe954f01e8
equal deleted inserted replaced
7563:b0d6b63f2843 7564:787684e6f2f3
108 ' See the shell window for details.') 108 ' See the shell window for details.')
109 .format(debuggerId)) 109 .format(debuggerId))
110 return 110 return
111 111
112 if not exceptionMessage: 112 if not exceptionMessage:
113 itm.setText(0, self.tr("{0}: {1}").format( 113 text = self.tr("{0}: {1}").format(
114 debuggerId, exceptionType)) 114 debuggerId, exceptionType)
115 else: 115 else:
116 itm.setText(0, self.tr("{0}: {1}, {2}").format( 116 text = self.tr("{0}: {1}, {2}").format(
117 debuggerId, exceptionType, exceptionMessage)) 117 debuggerId, exceptionType, exceptionMessage)
118
119 itm.setText(0, text)
120 itm.setToolTip(0, text)
118 121
119 # now add the call stack, most recent call first 122 # now add the call stack, most recent call first
120 for entry in stackTrace: 123 for entry in stackTrace:
121 excitm = QTreeWidgetItem(itm) 124 excitm = QTreeWidgetItem(itm)
122 excitm.setText(0, "{0}, {1:d}".format(entry[0], entry[1])) 125 excitm.setText(0, "{0}, {1:d}".format(entry[0], entry[1]))

eric ide

mercurial