Debugger/DebuggerInterfacePython3.py

branch
jsonrpc
changeset 5140
01484c0afbc6
parent 5137
089401c122c5
child 5162
bbf2bb2d533c
diff -r 089401c122c5 -r 01484c0afbc6 Debugger/DebuggerInterfacePython3.py
--- a/Debugger/DebuggerInterfacePython3.py	Sat Sep 03 19:20:42 2016 +0200
+++ b/Debugger/DebuggerInterfacePython3.py	Sun Sep 04 13:46:43 2016 +0200
@@ -887,12 +887,14 @@
         
         elif method == "CallTrace":
             isCall = params["event"].lower() == "c"
-            fromFile, fromLineno, fromFunc = params["from"].rsplit(":", 2)
-            toFile, toLineno, toFunc = params["to"].rsplit(":", 2)
+            fromInfo = params["from"]
+            toInfo = params["to"]
             self.debugServer.signalClientCallTrace(
                 isCall,
-                fromFile, fromLineno, fromFunc,
-                toFile, toLineno, toFunc)
+                fromInfo["filename"], str(fromInfo["linenumber"]),
+                fromInfo["codename"],
+                toInfo["filename"], str(toInfo["linenumber"]),
+                toInfo["codename"])
         
         elif method == "ResponseVariables":
             self.debugServer.signalClientVariables(

eric ide

mercurial