src/eric7/Debugger/DebuggerInterfacePython.py

branch
eric7
changeset 10321
4a017fdf316f
parent 10318
1e498581a094
child 10349
df7edc29cbfb
child 10373
093dcebe5ecb
diff -r ff28050f5dec -r 4a017fdf316f src/eric7/Debugger/DebuggerInterfacePython.py
--- a/src/eric7/Debugger/DebuggerInterfacePython.py	Fri Nov 17 17:53:14 2023 +0100
+++ b/src/eric7/Debugger/DebuggerInterfacePython.py	Sat Nov 18 15:18:17 2023 +0100
@@ -277,6 +277,16 @@
                 else:
                     self.translate = self.__identityTranslation
                 return process, self.__isNetworked, ""
+            else:
+                EricMessageBox.critical(
+                    None,
+                    self.tr("Start Debugger"),
+                    self.tr(
+                        "<p>Remote debugging is configured but no command for remote"
+                        " login was given.</p>"
+                    ),
+                )
+                return None, False, ""
 
         else:
             # local debugging code below
@@ -775,6 +785,7 @@
         traceInterpreter=False,
         autoContinue=True,
         enableMultiprocess=False,
+        reportAllExceptions=False,
     ):
         """
         Public method to load a new program to debug.
@@ -794,6 +805,9 @@
         @param enableMultiprocess flag indicating to perform multiprocess
             debugging
         @type bool
+        @param reportAllExceptions flag indicating to report all exceptions
+            instead of unhandled exceptions only
+        @type bool
         """
         self.__autoContinue = autoContinue
         self.__scriptName = os.path.abspath(fn)
@@ -809,6 +823,7 @@
                 "argv": Utilities.parseOptionString(argv),
                 "traceInterpreter": traceInterpreter,
                 "multiprocess": enableMultiprocess,
+                "reportAllExceptions": reportAllExceptions,
             },
             self.__mainDebugger,
         )
@@ -1604,7 +1619,7 @@
         elif method == "PassiveStartup":
             self.debugServer.passiveStartUp(
                 self.translate(params["filename"], True),
-                params["exceptions"],
+                params["reportAllExceptions"],
                 params["debuggerId"],
             )
 

eric ide

mercurial