Fix traceback when (sometimes?) using the watch window
This commit is contained in:
parent
044804ca20
commit
81712b124f
1 changed files with 3 additions and 3 deletions
|
|
@ -230,7 +230,7 @@ class VariablesView( object ):
|
|||
scope ), {
|
||||
'command': 'variables',
|
||||
'arguments': {
|
||||
'variablesReference': scope.scope[ 'variablesReference' ]
|
||||
'variablesReference': scope.VariablesReference(),
|
||||
},
|
||||
} )
|
||||
|
||||
|
|
@ -295,10 +295,10 @@ class VariablesView( object ):
|
|||
watch.result.IsExpandedByUser() ):
|
||||
self._connection.DoRequest( partial( self._ConsumeVariables,
|
||||
self._watch.draw,
|
||||
watch.result.result ), {
|
||||
watch.result ), {
|
||||
'command': 'variables',
|
||||
'arguments': {
|
||||
'variablesReference': watch.result.result[ 'variablesReference' ]
|
||||
'variablesReference': watch.result.VariablesReference(),
|
||||
},
|
||||
} )
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue