From 43bd073814f6de404a009a011690da51b8da0f6e Mon Sep 17 00:00:00 2001 From: Daniel Pettersson Date: Thu, 4 Jan 2024 16:31:48 +0100 Subject: [PATCH] Reset variables references in watch update watch --- dape.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dape.el b/dape.el index 25a44be..abb0fa7 100644 --- a/dape.el +++ b/dape.el @@ -3350,6 +3350,8 @@ Buffer is specified by MODE and ID." (if (not dape--watched) (dape--info-buffer-update-1 mode id :scopes scopes) (dolist (plist dape--watched) + (plist-put plist :variablesReference nil) + (plist-put plist :variables nil) (dape--with dape--evaluate-expression (conn (plist-get frame :id)