Golang断点在IntelliJ IDEA 2016.1.1中无法工作。

huangapple go评论96阅读模式
英文:

golang breakpoints not work in intellij idea 2016.1.1

问题

我正在调试一个GoLang程序。我设置了断点并运行了调试器。但是断点只在第一次运行调试器时起作用,在第二次、第三次以及之后的所有调试中都失败了,无论我做什么。我取消了它们并重新设置了它们,我关闭了调试窗口并打开了一个新的窗口,我在“断点”工具窗口中更改了设置。所有这些都没有起作用。
问题是什么?

英文:

I was debugging a GoLang program. I set break points and run the debugger. But the break points only works the first time I run the debugger and failed in the second, the third, and all following debugging whatever I do. I cancelled them and reset them, I close the debugging window and open a new one, I change the settings in the "Breakpoints" tool window. All these didn't work at all.
What's the problem?

答案1

得分: 3

更新,这个问题已经在最新版本的插件中修复,请查看

这是一个众所周知的问题,它存在于 delve 而不是插件本身。请参考此问题以获取更多信息。

英文:

Update, this has been fixed in the latest release of the plugin, please check it out

This is a well known problem and it lies in delve not the plugin itself. Please see this this issue for further reference.

huangapple
  • 本文由 发表于 2016年4月20日 14:47:25
  • 转载请务必保留本文链接:https://go.coder-hub.com/36735860.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定