937 |
938 |
938 self.__resetUI() |
939 self.__resetUI() |
939 |
940 |
940 if not Preferences.getDebugger("SuppressClientExit") or status != 0: |
941 if not Preferences.getDebugger("SuppressClientExit") or status != 0: |
941 if self.ui.currentProg is None: |
942 if self.ui.currentProg is None: |
942 QMessageBox.information(self.ui,Program, |
943 E5MessageBox.information(self.ui,Program, |
943 self.trUtf8('<p>The program has terminated with an exit' |
944 self.trUtf8('<p>The program has terminated with an exit' |
944 ' status of {0}.</p>').format(status)) |
945 ' status of {0}.</p>').format(status)) |
945 else: |
946 else: |
946 QMessageBox.information(self.ui,Program, |
947 E5MessageBox.information(self.ui,Program, |
947 self.trUtf8('<p><b>{0}</b> has terminated with an exit' |
948 self.trUtf8('<p><b>{0}</b> has terminated with an exit' |
948 ' status of {1}.</p>') |
949 ' status of {1}.</p>') |
949 .format(Utilities.normabspath(self.ui.currentProg), status)) |
950 .format(Utilities.normabspath(self.ui.currentProg), status)) |
950 |
951 |
951 def __clientSyntaxError(self, message, filename, lineNo, characterNo): |
952 def __clientSyntaxError(self, message, filename, lineNo, characterNo): |
1053 |
1054 |
1054 @param unplanned True if the client died, False otherwise |
1055 @param unplanned True if the client died, False otherwise |
1055 """ |
1056 """ |
1056 self.__resetUI() |
1057 self.__resetUI() |
1057 if unplanned: |
1058 if unplanned: |
1058 QMessageBox.information(self.ui,Program, |
1059 E5MessageBox.information(self.ui,Program, |
1059 self.trUtf8('The program being debugged has terminated unexpectedly.')) |
1060 self.trUtf8('The program being debugged has terminated unexpectedly.')) |
1060 |
1061 |
1061 def __getThreadList(self): |
1062 def __getThreadList(self): |
1062 """ |
1063 """ |
1063 Private method to get the list of threads from the client. |
1064 Private method to get the list of threads from the client. |