src/eric7/Debugger/DebuggerInterfacePython.py

branch
eric7
changeset 10930
5a883e68aa35
parent 10928
46651e194fbe
child 10941
07cad049002c
child 10956
1c22b555df34
--- a/src/eric7/Debugger/DebuggerInterfacePython.py	Fri Sep 27 09:48:07 2024 +0200
+++ b/src/eric7/Debugger/DebuggerInterfacePython.py	Fri Sep 27 10:28:32 2024 +0200
@@ -1636,7 +1636,8 @@
             logging.getLogger(__name__).debug("<Debug-Server> %s", jsonStr)
             ##print("Server: ", jsonStr)    ## debug       # __IGNORE_WARNING_M891__
 
-            self.handleJsonCommand(jsonStr, sock)
+            if jsonStr:
+                self.handleJsonCommand(jsonStr, sock)
 
     def handleJsonCommand(self, jsonStr, sock):
         """

eric ide

mercurial