We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f32366 commit 9db997cCopy full SHA for 9db997c
dap-ui.el
@@ -863,7 +863,9 @@ request."
863
(defun dap-ui-eval-variable-in-buffer ()
864
"Evaluate the symbol at point in a new buffer."
865
(interactive)
866
- (dap-ui-eval-in-buffer (thing-at-point 'symbol)))
+ (if-let ((sym (thing-at-point 'symbol)))
867
+ (dap-ui-eval-in-buffer sym)
868
+ (user-error "`dap-ui-eval-variable-in-buffer': no symbol at point")))
869
870
(defvar dap-ui--locals-timer nil)
871
0 commit comments