716 """ |
716 """ |
717 self.__sendJsonCommand("RequestThreadSet", { |
717 self.__sendJsonCommand("RequestThreadSet", { |
718 "threadID": tid, |
718 "threadID": tid, |
719 }) |
719 }) |
720 |
720 |
721 def remoteClientVariables(self, scope, filterList, framenr=0): |
721 def remoteClientVariables(self, scope, filterList, framenr=0, maxSize=0): |
722 """ |
722 """ |
723 Public method to request the variables of the debugged program. |
723 Public method to request the variables of the debugged program. |
724 |
724 |
725 @param scope the scope of the variables (0 = local, 1 = global) |
725 @param scope the scope of the variables (0 = local, 1 = global) |
726 @param filterList list of variable types to filter out (list of int) |
726 @type int |
727 @param framenr framenumber of the variables to retrieve (int) |
727 @param filterList list of variable types to filter out |
|
728 @type list of int |
|
729 @param framenr framenumber of the variables to retrieve |
|
730 @type int |
|
731 @param maxSize maximum size the formatted value of a variable will |
|
732 be shown. If it is bigger than that, a 'too big' indication will |
|
733 be given (@@TOO_BIG_TO_SHOW@@). |
|
734 @type int |
728 """ |
735 """ |
729 self.__sendJsonCommand("RequestVariables", { |
736 self.__sendJsonCommand("RequestVariables", { |
730 "frameNumber": framenr, |
737 "frameNumber": framenr, |
731 "scope": scope, |
738 "scope": scope, |
732 "filters": filterList, |
739 "filters": filterList, |
733 }) |
740 "maxSize": maxSize, |
734 |
741 }) |
735 def remoteClientVariable(self, scope, filterList, var, framenr=0): |
742 |
|
743 def remoteClientVariable(self, scope, filterList, var, framenr=0, |
|
744 maxSize=0): |
736 """ |
745 """ |
737 Public method to request the variables of the debugged program. |
746 Public method to request the variables of the debugged program. |
738 |
747 |
739 @param scope the scope of the variables (0 = local, 1 = global) |
748 @param scope the scope of the variables (0 = local, 1 = global) |
740 @param filterList list of variable types to filter out (list of int) |
749 @type int |
741 @param var list encoded name of variable to retrieve (string) |
750 @param filterList list of variable types to filter out |
742 @param framenr framenumber of the variables to retrieve (int) |
751 @type list of int |
|
752 @param var list encoded name of variable to retrieve |
|
753 @type list of str |
|
754 @param framenr framenumber of the variables to retrieve |
|
755 @type int |
|
756 @param maxSize maximum size the formatted value of a variable will |
|
757 be shown. If it is bigger than that, a 'too big' indication will |
|
758 be given (@@TOO_BIG_TO_SHOW@@). |
|
759 @type int |
743 """ |
760 """ |
744 self.__sendJsonCommand("RequestVariable", { |
761 self.__sendJsonCommand("RequestVariable", { |
745 "variable": var, |
762 "variable": var, |
746 "frameNumber": framenr, |
763 "frameNumber": framenr, |
747 "scope": scope, |
764 "scope": scope, |
748 "filters": filterList, |
765 "filters": filterList, |
|
766 "maxSize": maxSize, |
749 }) |
767 }) |
750 |
768 |
751 def remoteClientSetFilter(self, scope, filterStr): |
769 def remoteClientSetFilter(self, scope, filterStr): |
752 """ |
770 """ |
753 Public method to set a variables filter list. |
771 Public method to set a variables filter list. |