DebugClients/Python3/DebugClientBase.py

changeset 5162
bbf2bb2d533c
parent 5161
f7b6ded9cc37
child 5169
74e000797a93
equal deleted inserted replaced
5161:f7b6ded9cc37 5162:bbf2bb2d533c
384 """ 384 """
385 import json 385 import json
386 386
387 try: 387 try:
388 commandDict = json.loads(jsonStr.strip()) 388 commandDict = json.loads(jsonStr.strip())
389 except json.JSONDecodeError as err: 389 except (TypeError, ValueError) as err:
390 printerr(str(err)) 390 printerr(str(err))
391 return 391 return
392 392
393 method = commandDict["method"] 393 method = commandDict["method"]
394 params = commandDict["params"] 394 params = commandDict["params"]

eric ide

mercurial