<p>Let me know if this is the wrong area for this question.</p>
<p>I'm currently working with a combination </p>
<ul>
<li>Golang for the client side of an application</li>
<li>Delve as my debugger</li>
<li>Webstorm as my IDE</li>
</ul>
<p>I have tried the appropriate plugin for Webstorm (and am now running the nightly build (1359)) but am unable to get interactive debugging working.</p>
<p>I am able to execute Delve from terminal (OSX) or from the terminal inside Webstorm, and from there I'm able to set breakpoints and debug just fine. I'm also able to use the run / debug features just fine from Webstorm - it just doesn't appear to actually know the breakpoints are set (I've tried setting them before running the debug config, and after it was already running, no difference).</p>
<p>I've tried researching the topic but am having trouble finding any solutions. Has anyone here had good luck with interactive debugging, and is there anything I can do to determine the issue?</p>
<p>Thanks in advance.</p>
<hr/>**评论:**<br/><br/>dlsniper: <pre><p>Hi, </p>
<p>Sorry to hear that you are having issues with this. Unfortunately the plugin has a problem with debugging due to a bug in Delve. </p>
<p>Please see this issue on the plugin side: <a href="https://github.com/go-lang-plugin-org/go-lang-idea-plugin/issues/2360" rel="nofollow">https://github.com/go-lang-plugin-org/go-lang-idea-plugin/issues/2360</a> and this issue on delve side: <a href="https://github.com/derekparker/delve/issues/523" rel="nofollow">https://github.com/derekparker/delve/issues/523</a></p>
<p>I'm sorry that I don't have better news for you. As soon as we can find a solution for the problem debugging should start working again. Until then it's going to be a coin toss every time you try to debug something.</p>
<p>If you have any ideas on a possible fix for this it would be great to hear it. Otherwise if you have any further questions or there's anything else that I could help you with, please let me know. </p>
<p>Kind regards,
Florin</p></pre>migraine_relief: <pre><p>Thank you for the reply and information, it certainly helps clear some of this up. My team and I will be looking into this a bit deeper over the next day or two so if anything comes to light, I'll make sure to respond here and in any associated tickets.</p></pre>dlsniper: <pre><p>Thanks for helping out! If you can have a look at the delve side (which has the advantage of being written in Go and it's not even the debugger itself but the tcp/rpc layer) that would be of great help.</p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传