1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Golandでdelve古くてデバッガ動かねえよって叱られた時の対処

Posted at

うっすい内容ですがvscodeの情報は結構あったけどGolandのは発見出来なかったので一応

タイトル通り、GolandでDebug実行しようとすると

Version of Delve is too old for this version of Go ...

こんなんが出て叱られるときの対処です。
Golandはこの記事書いた時点で1番新しいです

単純にgo-delve自前でビルドしてプラグイン差し替えれば良いです。
mainはcmd/dlv/配下にあるので、git cloneかましたらディレクトリ移動してgo build
念のためもともとあったdlvバイナリはdlv.bkとかにしておき、
できあがったバイナリを[[your path]]/[[Goland本体ディレクトリ]]/plugins/go/lib/dlv/linux/下に放り込めばok

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?