src/eric7/Debugger/DebugUI.py

branch
eric7
changeset 10928
46651e194fbe
parent 10806
2f6df822e3b9
child 10988
729202700a5a
diff -r ce599998be7d -r 46651e194fbe src/eric7/Debugger/DebugUI.py
--- a/src/eric7/Debugger/DebugUI.py	Thu Sep 26 09:48:49 2024 +0200
+++ b/src/eric7/Debugger/DebugUI.py	Thu Sep 26 15:49:36 2024 +0200
@@ -1339,7 +1339,9 @@
                 program = self.ui.currentProg
 
             if message:
-                info = self.tr("Message: {0}").format(Utilities.html_uencode(message))
+                info = self.tr("Message: {0}").format(
+                    EricUtilities.html_uencode(message)
+                )
             else:
                 info = ""
             if program is None:
@@ -1498,7 +1500,7 @@
                                 "<p>Break here?</p>"
                             ).format(
                                 exceptionType,
-                                Utilities.html_encode(exceptionMessage),
+                                EricUtilities.html_encode(exceptionMessage),
                                 stackTrace[0][0],
                                 stackTrace[0][1],
                             ),
@@ -1513,7 +1515,8 @@
                                 "<p>The debugged program raised the exception"
                                 ' <b>{0}</b><br>"<b>{1}</b>"</p>'
                             ).format(
-                                exceptionType, Utilities.html_encode(exceptionMessage)
+                                exceptionType,
+                                EricUtilities.html_encode(exceptionMessage),
                             ),
                         )
             if res == EricMessageBox.Yes:
@@ -1783,13 +1786,13 @@
                     msg = self.tr(
                         """<p>A watch expression '<b>{0}</b>'"""
                         """ already exists.</p>"""
-                    ).format(Utilities.html_encode(cond))
+                    ).format(EricUtilities.html_encode(cond))
                 else:
                     msg = self.tr(
                         """<p>A watch expression '<b>{0}</b>'"""
                         """ for the variable <b>{1}</b> already"""
                         """ exists.</p>"""
-                    ).format(special, Utilities.html_encode(cond))
+                    ).format(special, EricUtilities.html_encode(cond))
                 EricMessageBox.warning(
                     self.ui, self.tr("Watch expression already exists"), msg
                 )

eric ide

mercurial