mirror of
https://github.com/go-delve/delve.git
synced 2025-10-29 09:46:56 +08:00
This provides a better error message when the user tries to run dlv debug on a directory that does not contain a main package, when `dlv exec` is used with a source file. Additionally the architecture of the executable is checked as suggested by @alexbrainman in #443. Fixes #509