proc: detect when Launching non-executable files
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
Showing
_fixtures/nomaindir/file.go
0 → 100644
想要评论请 注册 或 登录