815 Public method to request the variables of the debugged program. |
815 Public method to request the variables of the debugged program. |
816 |
816 |
817 @param scope the scope of the variables (0 = local, 1 = global) |
817 @param scope the scope of the variables (0 = local, 1 = global) |
818 @type int |
818 @type int |
819 @param filterList list of variable types to filter out |
819 @param filterList list of variable types to filter out |
820 @type list of int |
820 @type list of str |
821 @param framenr framenumber of the variables to retrieve |
821 @param framenr framenumber of the variables to retrieve |
822 @type int |
822 @type int |
823 @param maxSize maximum size the formatted value of a variable will |
823 @param maxSize maximum size the formatted value of a variable will |
824 be shown. If it is bigger than that, a 'too big' indication will |
824 be shown. If it is bigger than that, a 'too big' indication will |
825 be given (@@TOO_BIG_TO_SHOW@@). |
825 be given (@@TOO_BIG_TO_SHOW@@). |
838 Public method to request the variables of the debugged program. |
838 Public method to request the variables of the debugged program. |
839 |
839 |
840 @param scope the scope of the variables (0 = local, 1 = global) |
840 @param scope the scope of the variables (0 = local, 1 = global) |
841 @type int |
841 @type int |
842 @param filterList list of variable types to filter out |
842 @param filterList list of variable types to filter out |
843 @type list of int |
843 @type list of str |
844 @param var list encoded name of variable to retrieve |
844 @param var list encoded name of variable to retrieve |
845 @type list of str |
845 @type list of str |
846 @param framenr framenumber of the variables to retrieve |
846 @param framenr framenumber of the variables to retrieve |
847 @type int |
847 @type int |
848 @param maxSize maximum size the formatted value of a variable will |
848 @param maxSize maximum size the formatted value of a variable will |
1037 qs = self.qsock.readLine() |
1037 qs = self.qsock.readLine() |
1038 line = bytes(qs).decode( |
1038 line = bytes(qs).decode( |
1039 encoding=Preferences.getSystem("StringEncoding")) |
1039 encoding=Preferences.getSystem("StringEncoding")) |
1040 |
1040 |
1041 logging.debug("<Debug-Server> %s", line) |
1041 logging.debug("<Debug-Server> %s", line) |
1042 ## print("Server: ", line) ##debug |
1042 print("Server: ", line) ##debug |
1043 |
1043 |
1044 self.__handleJsonCommand(line) |
1044 self.__handleJsonCommand(line) |
1045 continue |
1045 continue |
1046 |
1046 |
1047 def __handleJsonCommand(self, jsonStr): |
1047 def __handleJsonCommand(self, jsonStr): |