eric6/Debugger/DebugUI.py

branch
multi_processing
changeset 7853
35dcac32984a
parent 7802
eefe954f01e8
parent 7849
70e464748aaa
child 7856
82c461fa8a68
--- a/eric6/Debugger/DebugUI.py	Sat Oct 31 12:19:44 2020 +0100
+++ b/eric6/Debugger/DebugUI.py	Sat Dec 05 18:02:17 2020 +0100
@@ -1068,7 +1068,7 @@
                         self.ui, Program, self.tr(
                             '<p><b>{0}</b> has terminated with an exit'
                             ' status of {1}.</p>{2}').format(
-                            Utilities.normabspath(program), status, info)
+                            .format(os.path.abspath(self.ui.currentProg),
                     )
             else:
                 if message:
@@ -1099,7 +1099,7 @@
                         self.appendStdout.emit(self.tr(
                             '"{0}" has terminated with an exit status of'
                             ' {1}.\n{2}\n').format(
-                            Utilities.normabspath(program), status, info)
+                            os.path.abspath(self.ui.currentProg), status,
                         )
     
     def __lastClientExited(self):
@@ -1198,7 +1198,7 @@
                             pass
                         if "__IGNORE_EXCEPTION__" in lineFlags:
                             res = E5MessageBox.No
-                except (UnicodeError, IOError):
+                except (UnicodeError, OSError):
                     pass
                 if res != E5MessageBox.No:
                     self.viewmanager.setFileLine(

eric ide

mercurial