Closed richardpeng closed 7 years ago
me too
This is a known delve issue: derekparker/delve/issues/645.
Seems like the delve issue (derekparker/delve#645) was fixed. Can we have it fixed here also?
@oferitz it seems the issue is still open. Until it's merged into delve I don't think we should build our own delve. @zolotov / @ignatov what do you think/
@dlsniper you are right i was confused by #577. it's probably good idea to wait.
Seems like the delve issue was fixed and merged. Can we have it fixed here also?
When is the planned release for this fix into the plugin and/or Gogland?
@itzg it was fixed in plugin 20th December and in the Gogland in the very first EAP. What's the version you use?
@zolotov I just installed Gogland to eliminate the possibility I had dirtied my IntelliJ install, so I'm running
Gogland (1.0 Preview) 1.0 EAP
Build #GO-163.10615.22, built on January 9, 2017
Gogland EAP User
Expiration date: April 9, 2017
JRE: 1.8.0_112-release-b460 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Since I'm working on an open source project, here's the execution line and error:
/usr/local/Cellar/go/1.7.4_1/libexec/bin/go test -c -o "/private/var/folders/xf/96hzdx9n24s22r3_2wnw4_bxns4t3x/T/TestEleSession_HeartbeatSending in session_test.go (1)go" -gcflags "-N -l" github.com/racker/rackspace-monitoring-poller/poller
"/Applications/Gogland 1.0 EAP.app/Contents/bin/dlv" --listen=localhost:51220 --headless=true --api-version=2 exec "/private/var/folders/xf/96hzdx9n24s22r3_2wnw4_bxns4t3x/T/TestEleSession_HeartbeatSending in session_test.go (1)go" -- -test.v -test.run ^TestEleSession_HeartbeatSending$
could not launch process: could not get thread count
Process finished with exit code 1
...and checking dlv version specifically:
~ "/Applications/Gogland 1.0 EAP.app/Contents/bin/dlv" version
Delve Debugger
Version: 0.11.0-alpha
Build:
@itzg likely it's the issue of delve, so it makes sense to help delve-maintainers to recreate this issue.
@dlsniper @ignatov could you look at it, please?
FYI, this is definitely still a delve issue since I recreated their code signing cert and built latest from master with same results when running dlv debug
directly. I'll find or report a new issue over there.
@itzg thank you for update and investigation
@zolotov , thank you for you ultra-fast responses.
Here is the new issue I opened https://github.com/derekparker/delve/issues/714
go get github.com/derekparker/delve/cmd/dlv
cd src/github.com/derekparker/delve/cmd/dlv
go build
mv ~/Library/Application\ Support/IdeaIC2016.2/Go/lib/dlv/mac/dlv ~/Library/Application\ Support/IdeaIC2016.2/Go/lib/dlv/mac/dlv_bak
cp dlv ~/Library/Application\ Support/IdeaIC2016.2/Go/lib/dlv/mac/
ok, it's works!
@linuxcer It works for me, thank you!
IntelliJ IDEA 2017.3.4 (Ultimate Edition) JRE: 1.8.0_152-release-1024-b11 x86_64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Mac OS X 10.13.3
This issue started when I updated to the latest version of macOS Sierra. I can still Run Applications using the IDE, just not Debug.