src/eric7/Debugger/DebugUI.py

branch
eric7
changeset 9409
fab36282c912
parent 9382
fb89c1dc9825
child 9413
80c06d472826
diff -r e993c39097d3 -r fab36282c912 src/eric7/Debugger/DebugUI.py
--- a/src/eric7/Debugger/DebugUI.py	Tue Oct 18 09:10:24 2022 +0200
+++ b/src/eric7/Debugger/DebugUI.py	Tue Oct 18 10:50:38 2022 +0200
@@ -2094,7 +2094,7 @@
             if not doNotStart:
                 if runProject and self.project.getProjectType() in ["E7Plugin"]:
                     argv = '--plugin="{0}" {1}'.format(fn, argv)
-                    fn = os.path.join(os.path.dirname(__file__), "..", "eric7_ide.py")
+                    fn = ""  # script name of the eric IDE is set in debug client
 
                 self.debugViewer.initCallStackViewer(runProject)
 
@@ -2298,7 +2298,7 @@
             if not doNotStart:
                 if runProject and self.project.getProjectType() in ["E7Plugin"]:
                     argv = '--plugin="{0}" {1}'.format(fn, argv)
-                    fn = os.path.join(os.path.dirname(__file__), "..", "eric7_ide.py")
+                    fn = ""  # script name of the eric IDE is set in debug client
 
                 self.debugViewer.initCallStackViewer(runProject)
 
@@ -2494,7 +2494,7 @@
             if not doNotStart:
                 if runProject and self.project.getProjectType() in ["E7Plugin"]:
                     argv = '--plugin="{0}" {1}'.format(fn, argv)
-                    fn = os.path.join(os.path.dirname(__file__), "..", "eric7_ide.py")
+                    fn = ""  # script name of the eric IDE is set in debug client
 
                 self.debugViewer.initCallStackViewer(runProject)
 
@@ -2713,7 +2713,7 @@
             if not doNotStart:
                 if debugProject and self.project.getProjectType() in ["E7Plugin"]:
                     argv = '--plugin="{0}" {1}'.format(fn, argv)
-                    fn = os.path.join(os.path.dirname(__file__), "..", "eric7_ide.py")
+                    fn = ""  # script name of the eric IDE is set in debug client
                     tracePython = True  # override flag because it must be true
 
                 self.debugViewer.initCallStackViewer(debugProject)
@@ -2810,7 +2810,7 @@
         if not doNotStart:
             if forProject and self.project.getProjectType() in ["E7Plugin"]:
                 argv = '--plugin="{0}" {1}'.format(fn, argv)
-                fn = os.path.join(os.path.dirname(__file__), "..", "eric7_ide.py")
+                fn = ""  # script name of the eric IDE is set in debug client
 
             self.debugViewer.initCallStackViewer(forProject)
 

eric ide

mercurial