eric6/Debugger/DebugUI.py

changeset 7849
70e464748aaa
parent 7836
2f0d208b8137
child 7853
35dcac32984a
child 7857
5cbae4f7e35a
child 7924
8a96736d465e
equal deleted inserted replaced
7848:97e9b5cc51dc 7849:70e464748aaa
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.

eric ide

mercurial