Debugger/DebuggerInterfacePython3.py

branch
jsonrpc
changeset 5140
01484c0afbc6
parent 5137
089401c122c5
child 5162
bbf2bb2d533c
equal deleted inserted replaced
5137:089401c122c5 5140:01484c0afbc6
885 method == "ResponseStack") 885 method == "ResponseStack")
886 self.debugServer.signalClientStack(params["stack"]) 886 self.debugServer.signalClientStack(params["stack"])
887 887
888 elif method == "CallTrace": 888 elif method == "CallTrace":
889 isCall = params["event"].lower() == "c" 889 isCall = params["event"].lower() == "c"
890 fromFile, fromLineno, fromFunc = params["from"].rsplit(":", 2) 890 fromInfo = params["from"]
891 toFile, toLineno, toFunc = params["to"].rsplit(":", 2) 891 toInfo = params["to"]
892 self.debugServer.signalClientCallTrace( 892 self.debugServer.signalClientCallTrace(
893 isCall, 893 isCall,
894 fromFile, fromLineno, fromFunc, 894 fromInfo["filename"], str(fromInfo["linenumber"]),
895 toFile, toLineno, toFunc) 895 fromInfo["codename"],
896 toInfo["filename"], str(toInfo["linenumber"]),
897 toInfo["codename"])
896 898
897 elif method == "ResponseVariables": 899 elif method == "ResponseVariables":
898 self.debugServer.signalClientVariables( 900 self.debugServer.signalClientVariables(
899 params["scope"], params["variables"]) 901 params["scope"], params["variables"])
900 902

eric ide

mercurial