1064 @param debuggerId ID of the debugger backend |
1064 @param debuggerId ID of the debugger backend |
1065 @type str |
1065 @type str |
1066 @param scope the scope of the variables (0 = local, 1 = global) |
1066 @param scope the scope of the variables (0 = local, 1 = global) |
1067 @type int |
1067 @type int |
1068 @param filterList list of variable types to filter out |
1068 @param filterList list of variable types to filter out |
1069 @type list of int |
1069 @type list of str |
1070 @param framenr framenumber of the variables to retrieve |
1070 @param framenr framenumber of the variables to retrieve |
1071 @type int |
1071 @type int |
1072 @param maxSize maximum size the formatted value of a variable will |
1072 @param maxSize maximum size the formatted value of a variable will |
1073 be shown. If it is bigger than that, a 'too big' indication will |
1073 be shown. If it is bigger than that, a 'too big' indication will |
1074 be given (@@TOO_BIG_TO_SHOW@@). |
1074 be given (@@TOO_BIG_TO_SHOW@@). |
1089 @param debuggerId ID of the debugger backend |
1089 @param debuggerId ID of the debugger backend |
1090 @type str |
1090 @type str |
1091 @param scope the scope of the variables (0 = local, 1 = global) |
1091 @param scope the scope of the variables (0 = local, 1 = global) |
1092 @type int |
1092 @type int |
1093 @param filterList list of variable types to filter out |
1093 @param filterList list of variable types to filter out |
1094 @type list of int |
1094 @type list of str |
1095 @param var list encoded name of variable to retrieve |
1095 @param var list encoded name of variable to retrieve |
1096 @type list of str |
1096 @type list of str |
1097 @param framenr framenumber of the variables to retrieve |
1097 @param framenr framenumber of the variables to retrieve |
1098 @type int |
1098 @type int |
1099 @param maxSize maximum size the formatted value of a variable will |
1099 @param maxSize maximum size the formatted value of a variable will |
1326 qs = sock.readLine() |
1326 qs = sock.readLine() |
1327 line = bytes(qs).decode( |
1327 line = bytes(qs).decode( |
1328 encoding=Preferences.getSystem("StringEncoding")) |
1328 encoding=Preferences.getSystem("StringEncoding")) |
1329 |
1329 |
1330 logging.debug("<Debug-Server> %s", line) |
1330 logging.debug("<Debug-Server> %s", line) |
1331 ## print("Server: ", line) ##debug |
1331 print("Server: ", line) ##debug |
1332 |
1332 |
1333 self.__handleJsonCommand(line, sock) |
1333 self.__handleJsonCommand(line, sock) |
1334 |
1334 |
1335 def __handleJsonCommand(self, jsonStr, sock): |
1335 def __handleJsonCommand(self, jsonStr, sock): |
1336 """ |
1336 """ |