\[vscode issue\] Cannot read properties of undefined (reading 'addr')
现象
在一些init函数中打下断点,执行时达到断点后,Debug Console 输出一下信息后会直接结束,无法继续进行调试
1 | Unhandled error in debug adapter: TypeError: Cannot read properties of undefined (reading 'addr') |
修复方案
根据找到vscode golang插件源码,ignore undefined的情况:

目前已通过PR合入vscode主干,将在0.38.0正式发布

本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 Kevinello!
评论
UtterancesTwikoo










