eric6/Debugger/DebugViewer.py

branch
multi_processing
changeset 7376
21df384d6150
parent 7375
af2500ced7e0
child 7377
cc920e534ac0
--- a/eric6/Debugger/DebugViewer.py	Wed Jan 29 18:47:35 2020 +0100
+++ b/eric6/Debugger/DebugViewer.py	Wed Jan 29 19:38:13 2020 +0100
@@ -482,13 +482,19 @@
         
         self.__threadList.clear()
         for thread in threadList:
-            if thread['broken']:
+            if thread.get('except', False):
+                state = self.tr("waiting at exception")
+                icon = "exceptions.png"
+            elif thread['broken']:
                 state = self.tr("waiting at breakpoint")
+                icon = "mediaPlaybackPause.png"
             else:
                 state = self.tr("running")
+                icon = "mediaPlaybackStart.png"
             itm = QTreeWidgetItem(self.__threadList,
                                   ["{0:d}".format(thread['id']),
                                    thread['name'], state])
+            itm.setIcon(0, UI.PixmapCache.getIcon(icon))
             if thread['id'] == currentID:
                 citm = itm
         

eric ide

mercurial