Show the exception message as a tooltip also.

Sat, 18 Apr 2020 16:08:05 +0200

author
T.Rzepka <Tobias.Rzepka@gmail.com>
date
Sat, 18 Apr 2020 16:08:05 +0200
changeset 7544
366c7c6582d8
parent 7543
a737e240f27b
child 7545
cd2f489f11d5

Show the exception message as a tooltip also.

eric6/Debugger/ExceptionLogger.py file | annotate | diff | comparison | revisions
--- a/eric6/Debugger/ExceptionLogger.py	Sat Apr 18 16:07:05 2020 +0200
+++ b/eric6/Debugger/ExceptionLogger.py	Sat Apr 18 16:08:05 2020 +0200
@@ -103,9 +103,12 @@
             return
         
         if exceptionMessage == '':
-            itm.setText(0, "{0}".format(exceptionType))
+            text = "{0}".format(exceptionType)
         else:
-            itm.setText(0, "{0}, {1}".format(exceptionType, exceptionMessage))
+            text = "{0}, {1}".format(exceptionType, exceptionMessage)
+        
+        itm.setText(0, text)
+        itm.setToolTip(0, text)
         
         # now add the call stack, most recent call first
         for entry in stackTrace:

eric ide

mercurial