You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What operating system and processor architecture are you using?
linux/amd64
What did you do?
% build a helloword case, with debug enabled
% lauch "dlv exec ./hello"
% run and break, then execute "vars" command
% pick up a variable to print, say "print internal/bytealg.MaxLen"
Please answer the following before submitting your issue:
Note: Please include any substantial examples (debug session output,
stacktraces, etc) as linked gists.
If this is about source listing not showing up (or breakpoints not being
accepted) while running in a container please read our
FAQ
first.
dlv version
)?Delve Debugger$Id: e673f2da02185a1c2b6dea52842b0a8c7e7a03b9 $
Version: 1.23.0
Build:
go version
)?go version go1.20.14 linux/amd64
linux/amd64
% build a helloword case, with debug enabled
% lauch "dlv exec ./hello"
% run and break, then execute "vars" command
% pick up a variable to print, say "print internal/bytealg.MaxLen"
Suggest "vars" outputs variable expressions in the format that "print" recognizes, as https://github.com/go-delve/delve/blob/master/Documentation/cli/expr.md#specifying-package-paths defines.
Take internal/bytealg.MaxLen as an example, "internal/bytealg".MaxLen might be better.
The text was updated successfully, but these errors were encountered: