Skip to content

Commit f1d160b

Browse files
committed
Fix error when no valid memory reference
1 parent da7fc24 commit f1d160b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python3/vimspector/variables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ def GetMemoryReference( self ):
675675
# Get a memoryReference for use in a ReadMemory request
676676
variable, _ = self._GetVariable( None, None )
677677
if variable is None:
678-
return None
678+
return None, None
679679

680680
# TODO: Return the connection too!
681681
return variable.connection, variable.MemoryReference()

0 commit comments

Comments
 (0)