eric6/DebugClients/Python/DebugClientBase.py

branch
multi_processing
changeset 7872
433dacbfa456
parent 7871
eb65864ca038
child 7877
72386134c80a
diff -r eb65864ca038 -r 433dacbfa456 eric6/DebugClients/Python/DebugClientBase.py
--- a/eric6/DebugClients/Python/DebugClientBase.py	Thu Dec 10 20:16:21 2020 +0100
+++ b/eric6/DebugClients/Python/DebugClientBase.py	Sat Dec 12 15:30:05 2020 +0100
@@ -2013,8 +2013,6 @@
         if self.running:
             self.__setCoding(self.running)
         self.passive = passive
-#        if passive:
-#            self.sendPassiveStartup(self.running, exceptions)
         self.__interact()
         
         # setup the debugger variables
@@ -2218,8 +2216,7 @@
                 print("Running module as a script is not supported. Aborting!")
                 # __IGNORE_WARNING_M801__
             else:
-                # Store options if a process is spawn
-                # TODO: check which ones are really needed
+                # Store options in case a new Python process is created
                 self.startOptions = (
                     wd, host, port, exceptions, tracePython, redirect,
                     self.noencoding,
@@ -2230,7 +2227,7 @@
                 if hasCode:
                     codeStr = args.pop(0)
                 else:
-                    codeStr=""
+                    codeStr = ""
                 res = self.startProgInDebugger(
                     args, wd, host, port, exceptions=exceptions,
                     tracePython=tracePython, redirect=redirect,
@@ -2280,8 +2277,7 @@
                 sys.path.insert(0, '')
             
             if port >= 0:
-                # Store options if a process is spawn
-                # TODO: check which ones are really needed
+                # Store options in case a new Python process is created
                 self.startOptions = (
                     '', remoteAddress, port, True, False, redirect,
                     self.noencoding,

eric ide

mercurial