From 3a160aa77a471629bbb69db2da4430bc798be59e Mon Sep 17 00:00:00 2001 From: Ben Jackson Date: Mon, 27 Jul 2020 22:49:50 +0100 Subject: [PATCH] Fix: Crash when deleting a watch that never got a result --- python3/vimspector/variables.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python3/vimspector/variables.py b/python3/vimspector/variables.py index ffd641d..d82090a 100644 --- a/python3/vimspector/variables.py +++ b/python3/vimspector/variables.py @@ -106,6 +106,7 @@ class Watch: """Holds a user watch expression (DAP request) and the result (WatchResult)""" def __init__( self, expression: dict ): self.result: WatchResult + self.line = None self.expression = expression self.result = None