IDEA解决could not launch process: decoding dwarf section info at offset 0x0: too short

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/zhanghaishan/article/details/84775432

Summary:

  IDEA is the 2018-01 version of himself, Golang I downloaded two days ago, IDEA Plugins installed in the Go plug-in, plug-in version is 181.4668.90 is normal when I go to run the program, but will be reported when debug could not launch process: decoding dwarf section info at offset 0x0: too short.

  I system windows, linux should be a little different, but the steps should be similar

 

solution:

1: Run go get -u github.com/derekparker/delve/cmd/dlv this command and was waiting in the console.

2: After running the above command should finish there will dlv environment variables, turn off the console to re-open the console (white to talk about re-open the console to make the new environment variables to take effect) run dlv to see not reflect, if not (my generation in the C: \ users \ your user name \ go \ bin) in C: there dlv.exe \ users username go under \ \ \ bin, linux to find dlv generation where it

3: Copy dlv replace the plug in the dlv, I plug dlv path C: \ Users \ username \ .IntelliJIdea2018.1 \ config \ plugins \ intellij-go \ lib \ dlv \ windows

I do not know where to look then at IDEA console drawings:

 

I want to help you, the way his own mind a note.

Guess you like

Origin blog.csdn.net/zhanghaishan/article/details/84775432