1044 else: |
1044 else: |
1045 E5MessageBox.information( |
1045 E5MessageBox.information( |
1046 self.ui, Program, |
1046 self.ui, Program, |
1047 self.tr('<p><b>{0}</b> has terminated with an exit' |
1047 self.tr('<p><b>{0}</b> has terminated with an exit' |
1048 ' status of {1}.</p>{2}') |
1048 ' status of {1}.</p>{2}') |
1049 .format(Utilities.normabspath(self.ui.currentProg), |
1049 .format(os.path.abspath(self.ui.currentProg), |
1050 status, info)) |
1050 status, info)) |
1051 else: |
1051 else: |
1052 if message: |
1052 if message: |
1053 info = self.tr("Message: {0}").format( |
1053 info = self.tr("Message: {0}").format( |
1054 Utilities.html_uencode(message)) |
1054 Utilities.html_uencode(message)) |
1075 ' of {0}.\n{1}\n').format(status, info)) |
1075 ' of {0}.\n{1}\n').format(status, info)) |
1076 else: |
1076 else: |
1077 self.appendStdout.emit(self.tr( |
1077 self.appendStdout.emit(self.tr( |
1078 '"{0}" has terminated with an exit status of' |
1078 '"{0}" has terminated with an exit status of' |
1079 ' {1}.\n{2}\n').format( |
1079 ' {1}.\n{2}\n').format( |
1080 Utilities.normabspath(self.ui.currentProg), status, |
1080 os.path.abspath(self.ui.currentProg), status, |
1081 info)) |
1081 info)) |
1082 |
1082 |
1083 def __clientSyntaxError(self, message, filename, lineNo, characterNo): |
1083 def __clientSyntaxError(self, message, filename, lineNo, characterNo): |
1084 """ |
1084 """ |
1085 Private method to handle a syntax error in the debugged program. |
1085 Private method to handle a syntax error in the debugged program. |