douruobokui58233 2016-06-10 05:48 采纳率: 0%
浏览 121
已采纳

无法启动进程:字节0x0处的记录中无效的幻数Delve Golang

Just got a:

could not launch process: invalid magic number in record at byte 0x0

When running on OSX after working fine for a while:

dlv debug main.go

reinstalled Delve, but still persists. What can it be?

  • 写回答

1条回答 默认 最新

  • duandi6531 2016-06-16 17:22
    关注

    The problem was the name of the package, I changed it and worked. Delve should give a better error message for that case.

    Previously I had a custom name for the package name. After changing it to main delve started to work again.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料
  • ¥15 使用R语言marginaleffects包进行边际效应图绘制
  • ¥20 usb设备兼容性问题
  • ¥15 错误(10048): “调用exui内部功能”库命令的参数“参数4”不能接受空数据。怎么解决啊
  • ¥15 安装svn网络有问题怎么办
  • ¥15 vue2登录调用后端接口如何实现