src/eric7/Debugger/DebuggerInterfacePython.py

branch
eric7
changeset 10930
5a883e68aa35
parent 10928
46651e194fbe
child 10941
07cad049002c
child 10956
1c22b555df34
equal deleted inserted replaced
10929:edfd452bb9be 10930:5a883e68aa35
1634 jsonStr = data.decode("utf-8", "backslashreplace") 1634 jsonStr = data.decode("utf-8", "backslashreplace")
1635 1635
1636 logging.getLogger(__name__).debug("<Debug-Server> %s", jsonStr) 1636 logging.getLogger(__name__).debug("<Debug-Server> %s", jsonStr)
1637 ##print("Server: ", jsonStr) ## debug # __IGNORE_WARNING_M891__ 1637 ##print("Server: ", jsonStr) ## debug # __IGNORE_WARNING_M891__
1638 1638
1639 self.handleJsonCommand(jsonStr, sock) 1639 if jsonStr:
1640 self.handleJsonCommand(jsonStr, sock)
1640 1641
1641 def handleJsonCommand(self, jsonStr, sock): 1642 def handleJsonCommand(self, jsonStr, sock):
1642 """ 1643 """
1643 Public method to handle a command or response serialized as a 1644 Public method to handle a command or response serialized as a
1644 JSON string. 1645 JSON string.

eric ide

mercurial