Support dlv types
from DAP (the same way types
is supported in the command line dlv
REPL)
#3729
Labels
dlv types
from DAP (the same way types
is supported in the command line dlv
REPL)
#3729
Some Delve error messages ask users to run specific commands, for example when a type is not found (e.g. type assertion
.(any)
), users get a messageThese error messages are also shown to users of the DAP protocol (e.g. via VSCode). The way to invoke commands via DAP is to send them as
evaluate
request, escaped withdlv
, likedlv help
. These are configured here:delve/service/dap/command.go
Line 81 in 7c7265f
As you can see, only three commands are supported, while command line Delve supports a few dozen. I think it would be good to support at least the ones we reference from error messages, like
types
.dlv version
)? 1.22.1go version
)? go1.23-20240419-RC02The text was updated successfully, but these errors were encountered: