eric7/DebugClients/Python/DebugClientBase.py

branch
eric7
changeset 8954
c8b027c654bc
parent 8948
9ddea4f0ad87
child 9074
1afb90182258
diff -r 3e8adcb59aad -r c8b027c654bc eric7/DebugClients/Python/DebugClientBase.py
--- a/eric7/DebugClients/Python/DebugClientBase.py	Sun Feb 20 17:38:10 2022 +0100
+++ b/eric7/DebugClients/Python/DebugClientBase.py	Mon Feb 21 17:39:06 2022 +0100
@@ -1220,7 +1220,7 @@
         while not self.eventExit:
             wrdy = []
 
-            if self.writestream.nWriteErrors > self.writestream.maxtries:
+            if self.writestream.nWriteErrors > self.writestream.MAX_TRIES:
                 break
             
             if AsyncPendingWrite(self.writestream):
@@ -1963,6 +1963,8 @@
         if progargs:
             if not progargs[0].startswith("-"):
                 name = os.path.basename(progargs[0])
+            elif progargs[0] == "--multiprocessing-fork":
+                name = "debug_client_mp-fork"
             else:
                 name = "debug_client_code"
         else:

eric ide

mercurial