eric6/Debugger/DebuggerInterfacePython.py

branch
multi_processing
changeset 7802
eefe954f01e8
parent 7646
39e3db2b4936
parent 7780
41420f82c0ac
child 7818
5c9271c2f662
equal deleted inserted replaced
7646:39e3db2b4936 7802:eefe954f01e8
4 # 4 #
5 5
6 """ 6 """
7 Module implementing the Python3 debugger interface for the debug server. 7 Module implementing the Python3 debugger interface for the debug server.
8 """ 8 """
9
10 9
11 import sys 10 import sys
12 import os 11 import os
13 import logging 12 import logging
14 13
1111 "scope": scope, 1110 "scope": scope,
1112 "filters": filterList, 1111 "filters": filterList,
1113 "maxSize": maxSize, 1112 "maxSize": maxSize,
1114 }, debuggerId) 1113 }, debuggerId)
1115 1114
1115 def remoteClientDisassembly(self, debuggerId):
1116 """
1117 Public method to ask the client for the latest traceback disassembly.
1118
1119 @param debuggerId ID of the debugger backend
1120 @type str
1121 """
1122 self.__sendJsonCommand("RequestDisassembly", {}, debuggerId)
1123
1116 def remoteClientSetFilter(self, debuggerId, scope, filterStr): 1124 def remoteClientSetFilter(self, debuggerId, scope, filterStr):
1117 """ 1125 """
1118 Public method to set a variables filter list. 1126 Public method to set a variables filter list.
1119 1127
1120 @param debuggerId ID of the debugger backend 1128 @param debuggerId ID of the debugger backend
1466 1474
1467 elif method == "ResponseClearWatch": 1475 elif method == "ResponseClearWatch":
1468 self.debugServer.signalClientClearWatch( 1476 self.debugServer.signalClientClearWatch(
1469 params["condition"], params["debuggerId"]) 1477 params["condition"], params["debuggerId"])
1470 1478
1479 elif method == "ResponseDisassembly":
1480 self.debugServer.signalClientDisassembly(
1481 params["disassembly"], params["debuggerId"])
1482
1471 elif method == "ResponseException": 1483 elif method == "ResponseException":
1472 exctype = params["type"] 1484 exctype = params["type"]
1473 excmessage = params["message"] 1485 excmessage = params["message"]
1474 stack = params["stack"] 1486 stack = params["stack"]
1475 if stack: 1487 if stack:

eric ide

mercurial