Interactive debugging with Webstorm / Delve.

polaris · · 778 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Let me know if this is the wrong area for this question.</p> <p>I&#39;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&#39;m able to set breakpoints and debug just fine. I&#39;m also able to use the run / debug features just fine from Webstorm - it just doesn&#39;t appear to actually know the breakpoints are set (I&#39;ve tried setting them before running the debug config, and after it was already running, no difference).</p> <p>I&#39;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&#39;m sorry that I don&#39;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&#39;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&#39;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&#39;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&#39;s not even the debugger itself but the tcp/rpc layer) that would be of great help.</p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

778 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传