eric6/DebugClients/Python/DebugClientBase.py

branch
multi_processing
changeset 7424
9bb7d8b0f966
parent 7422
9a008ab4811b
child 7428
27c55a3d0b89
diff -r 9a008ab4811b -r 9bb7d8b0f966 eric6/DebugClients/Python/DebugClientBase.py
--- a/eric6/DebugClients/Python/DebugClientBase.py	Sun Feb 16 19:36:46 2020 +0100
+++ b/eric6/DebugClients/Python/DebugClientBase.py	Mon Feb 17 19:23:27 2020 +0100
@@ -33,7 +33,7 @@
 from FlexCompleter import Completer
 from DebugUtilities import prepareJsonCommand
 from BreakpointWatch import Breakpoint, Watch
-from MultiProcessDebugExtension import patchNewProcessFunctions
+##from MultiProcessDebugExtension import patchNewProcessFunctions
 
 if sys.version_info[0] == 2:
     from inspect import getargvalues, formatargvalues
@@ -105,12 +105,12 @@
 else:
     try:
         DebugClientOrigInput = __builtins__.__dict__['input']
-        __builtins__.__dict__['input'] = DebugClientRawInput
+        __builtins__.__dict__['input'] = DebugClientInput
     except (AttributeError, KeyError):
         try:
             import __main__
             DebugClientOrigInput = __main__.__builtins__.__dict__['input']
-            __main__.__builtins__.__dict__['input'] = DebugClientRawInput
+            __main__.__builtins__.__dict__['input'] = DebugClientInput
         except (AttributeError, KeyError):
             DebugClientOrigInput = lambda x: ''  # __IGNORE_WARNING__
 
@@ -2286,7 +2286,7 @@
                 )
                 if not self.noencoding:
                     self.__coding = self.defaultCoding
-                patchNewProcessFunctions(multiprocess, self)
+##                patchNewProcessFunctions(multiprocess, self)
                 res = self.startProgInDebugger(
                     args, wd, host, port, exceptions=exceptions,
                     tracePython=tracePython, redirect=redirect,
@@ -2344,7 +2344,7 @@
                 if not self.noencoding:
                     self.__coding = self.defaultCoding
                 self.connectDebugger(port, remoteAddress, redirect)
-                patchNewProcessFunctions(self.multiprocessSupport, self)
+##                patchNewProcessFunctions(self.multiprocessSupport, self)
                 self.__interact()
             else:
                 print("No network port given. Aborting...")

eric ide

mercurial