679 """ |
679 """ |
680 self.__sendJsonCommand("RequestThreadSet", { |
680 self.__sendJsonCommand("RequestThreadSet", { |
681 "threadID": tid, |
681 "threadID": tid, |
682 }) |
682 }) |
683 |
683 |
684 def remoteClientVariables(self, scope, filter, framenr=0): |
684 def remoteClientVariables(self, scope, filterList, framenr=0): |
685 """ |
685 """ |
686 Public method to request the variables of the debugged program. |
686 Public method to request the variables of the debugged program. |
687 |
687 |
688 @param scope the scope of the variables (0 = local, 1 = global) |
688 @param scope the scope of the variables (0 = local, 1 = global) |
689 @param filter list of variable types to filter out (list of int) |
689 @param filterList list of variable types to filter out (list of int) |
690 @param framenr framenumber of the variables to retrieve (int) |
690 @param framenr framenumber of the variables to retrieve (int) |
691 """ |
691 """ |
692 self.__sendJsonCommand("RequestVariables", { |
692 self.__sendJsonCommand("RequestVariables", { |
693 "frameNumber": framenr, |
693 "frameNumber": framenr, |
694 "scope": scope, |
694 "scope": scope, |
695 "filters": filter, |
695 "filters": filterList, |
696 }) |
696 }) |
697 |
697 |
698 def remoteClientVariable(self, scope, filter, var, framenr=0): |
698 def remoteClientVariable(self, scope, filterList, var, framenr=0): |
699 """ |
699 """ |
700 Public method to request the variables of the debugged program. |
700 Public method to request the variables of the debugged program. |
701 |
701 |
702 @param scope the scope of the variables (0 = local, 1 = global) |
702 @param scope the scope of the variables (0 = local, 1 = global) |
703 @param filter list of variable types to filter out (list of int) |
703 @param filterList list of variable types to filter out (list of int) |
704 @param var list encoded name of variable to retrieve (string) |
704 @param var list encoded name of variable to retrieve (string) |
705 @param framenr framenumber of the variables to retrieve (int) |
705 @param framenr framenumber of the variables to retrieve (int) |
706 """ |
706 """ |
707 self.__sendJsonCommand("RequestVariable", { |
707 self.__sendJsonCommand("RequestVariable", { |
708 "variable": var, |
708 "variable": var, |
709 "frameNumber": framenr, |
709 "frameNumber": framenr, |
710 "scope": scope, |
710 "scope": scope, |
711 "filters": filter, |
711 "filters": filterList, |
712 }) |
712 }) |
713 |
713 |
714 def remoteClientSetFilter(self, scope, filter): |
714 def remoteClientSetFilter(self, scope, filterStr): |
715 """ |
715 """ |
716 Public method to set a variables filter list. |
716 Public method to set a variables filter list. |
717 |
717 |
718 @param scope the scope of the variables (0 = local, 1 = global) |
718 @param scope the scope of the variables (0 = local, 1 = global) |
719 @param filter regexp string for variable names to filter out (string) |
719 @param filterStr regexp string for variable names to filter out |
|
720 (string) |
720 """ |
721 """ |
721 self.__sendJsonCommand("RequestSetFilter", { |
722 self.__sendJsonCommand("RequestSetFilter", { |
722 "scope": scope, |
723 "scope": scope, |
723 "filter": filter, |
724 "filter": filterStr, |
724 }) |
725 }) |
725 |
726 |
726 def setCallTraceEnabled(self, on): |
727 def setCallTraceEnabled(self, on): |
727 """ |
728 """ |
728 Public method to set the call trace state. |
729 Public method to set the call trace state. |