Kevinello / gitalk

0 stars 0 forks source link

2023/02/28/[vscode%20issue]%20Golang%20Debug%20%E6%97%A0%E6%B3%95%E5%91%BD%E4%B8%AD%E6%96%AD%E7%82%B9/ #10

Open utterances-bot opened 4 weeks ago

utterances-bot commented 4 weeks ago

[vscode issue] Golang Debug 无法命中断点 | Kevinello

VSCode Golang Debug无法命中断点问题修复 发现在VSCode中连接公司DevBox调试Golang程序时,无法命中断点 在launch.json中添加参数 这样Debug程序会输出日志并停在程序入口,观察日志发现 有setBreakPoints的输入,也就是说编辑器(VSCode)是正确识别到了断点并传递给dlv-dap dlv报错:找不到文件 在d

http://kevinello.ltd/2023/02/28/[vscode%20issue]%20Golang%20Debug%20%E6%97%A0%E6%B3%95%E5%91%BD%E4%B8%AD%E6%96%AD%E7%82%B9/

PikaByter commented 4 weeks ago

太感谢啦,找了半天找不到原因!