Support setting from the balloon
This commit is contained in:
parent
9e1a1ab4b5
commit
c2082cffae
3 changed files with 12 additions and 9 deletions
|
|
@ -526,9 +526,8 @@ class DebugSession( object ):
|
|||
self._variablesView.ExpandVariable( buf, line_num )
|
||||
|
||||
@IfConnected()
|
||||
def SetVariableValue( self ):
|
||||
# TODO: , buf = None, line_num = None ):
|
||||
self._variablesView.SetVariableValue()
|
||||
def SetVariableValue( self, buf = None, line_num = None ):
|
||||
self._variablesView.SetVariableValue( buf, line_num )
|
||||
|
||||
@IfConnected()
|
||||
def AddWatch( self, expression ):
|
||||
|
|
|
|||
|
|
@ -515,11 +515,11 @@ class VariablesView( object ):
|
|||
},
|
||||
} )
|
||||
|
||||
def SetVariableValue( self ):
|
||||
def SetVariableValue( self, buf = None, line_num = None ):
|
||||
variable: Variable
|
||||
view: View
|
||||
|
||||
variable, view = self._GetVariable( buf = None, line_num = None )
|
||||
variable, view = self._GetVariable( buf, line_num )
|
||||
if variable is None:
|
||||
return
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue