DebugClients/Python3/DebugClientBase.py

branch
jsonrpc
changeset 5140
01484c0afbc6
parent 5135
04905a8681dc
child 5144
1ab536d25072
diff -r 089401c122c5 -r 01484c0afbc6 DebugClients/Python3/DebugClientBase.py
--- a/DebugClients/Python3/DebugClientBase.py	Sat Sep 03 19:20:42 2016 +0200
+++ b/DebugClients/Python3/DebugClientBase.py	Sun Sep 04 13:46:43 2016 +0200
@@ -934,21 +934,23 @@
             "stack": stack,
         })
     
-    def sendCallTrace(self, event, fromStr, toStr):
+    def sendCallTrace(self, event, fromInfo, toInfo):
         """
         Public method to send a call trace entry.
         
         @param event trace event (call or return)
         @type str
-        @param fromStr pre-formatted origin info
-        @type str
-        @param toStr pre-formatted target info
-        @type str
+        @param fromInfo dictionary containing the origin info
+        @type dict with 'filename', 'linenumber' and 'codename'
+            as keys
+        @param toInfo dictionary containing the target info
+        @type dict with 'filename', 'linenumber' and 'codename'
+            as keys
         """
         self.sendJsonCommand("CallTrace", {
             "event": event[0],
-            "from": fromStr,
-            "to": toStr,
+            "from": fromInfo,
+            "to": toInfo,
         })
     
     def sendException(self, exceptionType, exceptionMessage, stack):

eric ide

mercurial