src/eric7/DebugClients/Python/DebugUtilities.py

branch
eric7
changeset 10321
4a017fdf316f
parent 9653
e67609152c5e
child 10417
c6011e501282
--- a/src/eric7/DebugClients/Python/DebugUtilities.py	Fri Nov 17 17:53:14 2023 +0100
+++ b/src/eric7/DebugClients/Python/DebugUtilities.py	Sat Nov 18 15:18:17 2023 +0100
@@ -354,7 +354,7 @@
         wd,
         host,
         port,
-        exceptions,
+        reportAllExceptions,
         tracePython,
         redirect,
         noencoding,
@@ -375,8 +375,6 @@
 
     if wd:
         modifiedArguments.extend(["-w", wd])
-    if not exceptions:
-        modifiedArguments.append("-e")
     if tracePython:
         modifiedArguments.append("-t")
     if noRedirect or not redirect:
@@ -385,6 +383,8 @@
         modifiedArguments.append("--no-encoding")
     if debugClient.multiprocessSupport:
         modifiedArguments.append("--multiprocess")
+    if reportAllExceptions:
+        modifiedArguments.append("--report-exceptions")
     if hasCode:
         modifiedArguments.append("--code")
         modifiedArguments.append(args.pop(0))

eric ide

mercurial