DebugClients/Python2/DebugClientBase.py

changeset 5162
bbf2bb2d533c
parent 5161
f7b6ded9cc37
child 5171
f1e9eebd5469
equal deleted inserted replaced
5161:f7b6ded9cc37 5162:bbf2bb2d533c
390 """ 390 """
391 import json 391 import json
392 392
393 try: 393 try:
394 commandDict = json.loads(jsonStr.strip()) 394 commandDict = json.loads(jsonStr.strip())
395 except json.JSONDecodeError as err: 395 except (TypeError, ValueError) as err:
396 printerr(str(err)) 396 printerr(str(err))
397 return 397 return
398 398
399 method = commandDict["method"] 399 method = commandDict["method"]
400 params = commandDict["params"] 400 params = commandDict["params"]

eric ide

mercurial