dsu89430 2016-03-19 16:09
浏览 296

在Mac OSX中安装delve for GO

I have been trying to install delve in my environment. However , delve fails to start and I can't solve this problem.

OS: OSX Yosemite 10.10.4

Darwin Kernel Version 14.4.0

 $GOPATH/bin/dlv debug main.go
 could not launch process: could not fork/exec

https://github.com/derekparker/delve/wiki/Building

I installed delve following steps mentioned above URL. Install was succeeded and delve starts appropriately with root user. Delve returns error except root user.

1) I have created certification and signed application

2) I kill taskgated just before make command but it starts again after make.

3) If I rename these files, this command makes failure. /System/Library/LaunchDaemons/com.apple.taskgated-helper.plist /System/Library/LaunchDaemons/com.apple.taskgated.plist

codesign -s "dlv-cert" /Users/murotanimari/work/bin/dlv
error: One or more parameters passed to a function were not valid.
  • 写回答

1条回答 默认 最新

  • duanlu0386 2016-11-28 15:37
    关注
    1. brew install steeve/delve/delve -> this installs delve and creates the certificate
    2. Go to the delve folder, GOPATH/src/derek…/delve
    3. Install cert for delve with command CERT=dlv-cert make install
    评论

报告相同问题?

悬赏问题

  • ¥15 (标签-Python|关键词-socket)
  • ¥15 keil里为什么main.c定义的函数在it.c调用不了
  • ¥50 切换TabTip键盘的输入法
  • ¥15 可否在不同线程中调用封装数据库操作的类
  • ¥15 微带串馈天线阵列每个阵元宽度计算
  • ¥15 keil的map文件中Image component sizes各项意思
  • ¥20 求个正点原子stm32f407开发版的贪吃蛇游戏
  • ¥15 划分vlan后,链路不通了?
  • ¥20 求各位懂行的人,注册表能不能看到usb使用得具体信息,干了什么,传输了什么数据
  • ¥15 Vue3 大型图片数据拖动排序