Delve: Need documentation for lldb-server

Created on 12 May 2017  Â·  23Comments  Â·  Source: go-delve/delve

  1. What version of Delve are you using (dlv version)?

1.0.0-rc.1

  1. What version of Go are you using? (go version)?

go version go1.8.1 darwin/amd64

  1. What operating system and processor architecture are you using?

macOS Sierra (10.12.3) on an Intel i7 (64-bit).

  1. What did you do?

delve exec myprogram

  1. What did you expect to see?

The delve interactive prompt.

  1. What did you see instead?

could not launch process: exec: "lldb-server": executable file not found in $PATH

I think this is mostly a documentation issue, since the backend changed between 0.12.2 and 1.0.0-rc.1. For me, lldb-server is /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/Resources/lldb-server.

(Things also don't work for me once I add that directory to my $PATH -- I get could not launch process: dial tcp :49754: getsockopt: connection refused -- so I am unsure what additional setup is needed on my system.)

aredocs

Most helpful comment

You are da man!... You nailed it. I didn't have debugserver so I have installed it with xcode-select --install. That fixed tests. After running make install, I've noticed that it was installed into my home dir but where would return the path from the global bin. I uninstalled all versions of delve with brew uninstall --force delve and voila!.. Thanks again for helping and your time.

All 23 comments

I am having this same issue.

First step was to

ln -s /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/Resources/lldb-server /usr/local/bin/lldb-server

That got it a bit farther, but then I received a similar error as in the OP:

could not launch process: dial tcp :57288: getsockopt: connection refused

A bit more info: dlv test and dlv exec work for me on the command line. However, in VSCode, I receive the dial tcp connection refused error.

What version of xcode do you have installed? What happens when you run your lldb-server?

@aarzilli

Xcode: Version 8.3.2 (8E2002)
lldb version: lldb-370.0.42 Swift-3.1

Running lldb-server platform --listen *:12343 just sits and waits. I don't know what to do at this point to further debug it.

For me:

$ xcodebuild -version
Xcode 8.3.2
Build version 8E2002

$ lldb --version
lldb-370.0.42
  Swift-3.1

Just lldb-server, what's the output? Also the output of which lldb-server and find / -name debugserver.

If it works from the command line but not from inside VSCode it's probably just a PATH issue at this point.

which lldb-server doesn't return anything for me.

$ find / -name lldb-server 2>/dev/null
/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/Resources/lldb-server
/Library/Developer/CommandLineTools/Library/PrivateFrameworks/LLDB.framework/Versions/A/Resources/lldb-server

$ find / -name debugserver 2>/dev/null
/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/Resources/debugserver
/Library/Developer/CommandLineTools/Library/PrivateFrameworks/LLDB.framework/Versions/A/Resources/debugserver

The md5sums match between those two locations for each binary.

$ /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/Resources/lldb-server version
lldb-370.0.42
  Swift-3.1

(Running it without version just displays usage information)

lldb-server starts from VSCode, but then fails to connect. It exists in my PATH now that I did the ln -s.

+Thought:api tylerb$ lldb-server
Usage:
  lldb-server v[ersion]
  lldb-server g[dbserver] [options]
  lldb-server p[latform] [options]
Invoke subcommand for additional help

And, for completeness:

+Thought:api tylerb$ lldb-server v
lldb-370.0.42
  Swift-3.1
+Thought:api tylerb$ which lldb-server
/usr/local/bin/lldb-server
+Thought:api tylerb$ find / -name debugserver 2>/dev/null
/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules/node-pty/deps/winpty/src/debugserver
/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/Resources/debugserver
/Library/Developer/CommandLineTools/Library/PrivateFrameworks/LLDB.framework/Versions/A/Resources/debugserver
/Users/tylerb/Library/Developer/Xcode/DerivedData/lldb-aqfngwmtprhiqfgkrywbiqduupmg/Build/Products/DebugClang/debugserver
/Users/tylerb/Library/Developer/Xcode/DerivedData/lldb-aqfngwmtprhiqfgkrywbiqduupmg/Build/Products/DebugClang/LLDB.framework/Versions/A/Resources/debugserver
/Users/tylerb/Library/Developer/Xcode/iOS DeviceSupport/5.0.1 (9A405)/Symbols/Developer/usr/bin/debugserver
/Users/tylerb/Library/Developer/Xcode/iOS DeviceSupport/5.1 (9B179)/Symbols/Developer/usr/bin/debugserver
/Users/tylerb/Library/Developer/Xcode/iOS DeviceSupport/5.1.1 (9B206)/Symbols/Developer/usr/bin/debugserver
/Users/tylerb/Library/Developer/Xcode/iOS DeviceSupport/6.0 (10A403)/Symbols/Developer/usr/bin/debugserver
/Users/tylerb/Library/Developer/Xcode/iOS DeviceSupport/6.0.1 (10A523)/Symbols/Developer/usr/bin/debugserver
/Users/tylerb/Library/Developer/Xcode/iOS DeviceSupport/6.1 (10B142)/Symbols/Developer/usr/bin/debugserver
/Users/tylerb/Library/Developer/Xcode/iOS DeviceSupport/6.1.1 (10B145)/Symbols/Developer/usr/bin/debugserver
/Users/tylerb/Library/Developer/Xcode/iOS DeviceSupport/6.1.2 (10B146)/Symbols/Developer/usr/bin/debugserver
/Users/tylerb/Library/Developer/Xcode/iOS DeviceSupport/6.1.3 (10B329)/Symbols/Developer/usr/bin/debugserver
/Users/tylerb/Library/Developer/Xcode/iOS DeviceSupport/7.0.4 (11B554a)/Symbols/Developer/usr/bin/debugserver
/Users/tylerb/Library/Developer/Xcode/iOS DeviceSupport/7.1.1 (11D201)/Symbols/Developer/usr/bin/debugserver
/Users/tylerb/Projects/lldb/tools/debugserver
/Users/tylerb/Projects/lldb/unittests/debugserver

Thank you. Debugserver is where it's supposed to be, if dlv works from the command line it must be some issue with VSCode configuration. If you are trying to pass command line arguments to the target, there was an issue that was closed recently that could cause this.

I'm not sure how VSCode calls dlv, so I'll have to dig in to that and see what's up. Thanks!

I have updated to delve tip and it is working great. Thanks!

On Mac, I still see the same issue when trying to debug with Gogland.

Gogland (1.0 Preview) 1.0 EAP
Build #GO-171.4424.55, built on May 12, 2017
Gogland EAP User
Expiration date: August 10, 2017
JRE: 1.8.0_112-release-736-b21 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.4

It appears Gogland is shipped with a version of Delve, for in the output I see:

$HOME/Library/Application Support/Gogland1.0/intellij-go/lib/dlv/mac/dlv" --listen=localhost:50325 --headless=true --api-version=2 --backend=default exec /private/var/folders/z9/skz2jb0s4xg03nbtb0z3s3h80000gn/T/Rungo --
could not launch process: dial tcp :50329: getsockopt: connection refused

However, they seem to match:

â–¶ "$HOME/Library/Application Support/Gogland1.0/intellij-go/lib/dlv/mac/dlv" version  
Delve Debugger
Version: 1.0.0-rc.1
Build: 

â–¶ /usr/local/bin/dlv version
Delve Debugger
Version: 1.0.0-rc.1
Build: 

Are you getting the not found error? If so you can do the ln -s command I posted above.

On May 18, 2017, 12:56 AM -0600, schultz9999 notifications@github.com, wrote:
>

On Mac, I have installed HEAD for delve and still see the same issue when trying to debug with Gogland. Ideas?

Gogland (1.0 Preview) 1.0 EAP Build #GO-171.4424.55, built on May 12, 2017 Gogland EAP User Expiration date: August 10, 2017 JRE: 1.8.0_112-release-736-b21 x86_64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Mac OS X 10.12.4

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub (https://github.com/derekparker/delve/issues/838#issuecomment-302317826), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAEUlLesbRWO0IjrgWMSyOTs9XW7Gmi5ks5r6-uOgaJpZM4NZYOX).

@aarzilli
dlv-version:
Delve Debugger
Version: 1.0.0-rc.1
Build:

xcode version:
Xcode 8.3.2
Build version 8E2002

vscode go-plugin version:
0.6.61

osversion:10.12.5

go version: 1.8
(Things also don't work for me once I add that directory to my $PATH -- I get could not launch process: dial tcp :49754: getsockopt: connection refused -- so I am unsure what additional setup is needed on my system.)

@tylerb how to update delve tip?

@guanrui0309

cd $GOPATH/src/github.com/derekparker/delve
git checkout master
git pull
make test
make install

That solved it for me.

@schultz9999 you could also try doing the above steps, then overwrite the binary in gogland with the binary produced by make. No idea if that would work, but worth a try.

@tylerb i installed the go-delve by brew install, follow by your steps, in $GOPATH/src/github.com/ not found derekparker/delve, you installed the go-delve by using go get?
i still did not resolve it, its pity, however, thanks very much!!!

Uninstall from homebrew, then go get this repo and install using make. That should do it.

On May 18, 2017, 9:23 PM -0600, colawarrior notifications@github.com, wrote:
>

@tylerb (https://github.com/tylerb) i installed the go-delve by brew install, follow by your steps, in $GOPATH/src/github.com/ not found derekparker/delve, you installed the go-delve by using go get?
i still did not resolve it, its pity, however, thanks very much!!!

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub (https://github.com/derekparker/delve/issues/838#issuecomment-302598853), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAEUlDB1QA7NKLRVHK7Tq8zaTIhYJa3mks5r7QsXgaJpZM4NZYOX).

@guanrui0309 you need to clone it:

mkdir -p $GOPATH/src/github.com/derekparker
cd $GOPATH/src/github.com/derekparker
git clone https://github.com/derekparker/delve.git
...

@tylerb Done. Bunch of failures :(

â–¶ ln -s /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/Resources/lldb-server /usr/local/bin/lldb-server
ln: /usr/local/bin/lldb-server: File exists

â–¶ which lldb-server
/usr/local/bin/lldb-server

â–¶ make test
scripts/gencert.sh || (echo "An error occurred when generating and installing a new certicate"; exit 1)
go test -exec=/Users/schultz9999/gocode/src/github.com/derekparker/delve/scripts/testsign -ldflags="-s" github.com/derekparker/delve/cmd/dlv github.com/derekparker/delve/cmd/dlv/cmds github.com/derekparker/delve/pkg/config github.com/derekparker/delve/pkg/dwarf/frame github.com/derekparker/delve/pkg/dwarf/line github.com/derekparker/delve/pkg/dwarf/op github.com/derekparker/delve/pkg/dwarf/reader github.com/derekparker/delve/pkg/dwarf/util github.com/derekparker/delve/pkg/proc github.com/derekparker/delve/pkg/proc/core github.com/derekparker/delve/pkg/proc/gdbserial github.com/derekparker/delve/pkg/proc/native github.com/derekparker/delve/pkg/proc/test github.com/derekparker/delve/pkg/terminal github.com/derekparker/delve/pkg/version github.com/derekparker/delve/service github.com/derekparker/delve/service/api github.com/derekparker/delve/service/debugger github.com/derekparker/delve/service/rpc1 github.com/derekparker/delve/service/rpc2 github.com/derekparker/delve/service/rpccommon github.com/derekparker/delve/service/test github.com/derekparker/delve/service/test/cmd
/var/folders/z9/skz2jb0s4xg03nbtb0z3s3h80000gn/T/go-build672284076/github.com/derekparker/delve/cmd/dlv/_test/dlv.test: no identity found
2017/05/18 22:26:13 dialing:dial tcp [::1]:40573: getsockopt: connection refused
FAIL    github.com/derekparker/delve/cmd/dlv    14.766s
ok      github.com/derekparker/delve/cmd/dlv/cmds   0.130s
?       github.com/derekparker/delve/pkg/config [no test files]
ok      github.com/derekparker/delve/pkg/dwarf/frame    0.221s
ok      github.com/derekparker/delve/pkg/dwarf/line 0.443s
ok      github.com/derekparker/delve/pkg/dwarf/op   0.150s
?       github.com/derekparker/delve/pkg/dwarf/reader   [no test files]
ok      github.com/derekparker/delve/pkg/dwarf/util 0.137s
/var/folders/z9/skz2jb0s4xg03nbtb0z3s3h80000gn/T/go-build672284076/github.com/derekparker/delve/pkg/proc/_test/proc.test: no identity found
--- FAIL: TestExit (10.29s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestExit
    proc_test.go:67: Launch(): dial tcp :54654: getsockopt: connection refused
--- FAIL: TestExitAfterContinue (10.04s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestExitAfterContinue
    proc_test.go:67: Launch(): dial tcp :54714: getsockopt: connection refused
--- FAIL: TestHalt (10.21s)
    proc_test.go:67: Launch(): dial tcp :54767: getsockopt: connection refused
--- FAIL: TestStep (10.21s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestStep
    proc_test.go:67: Launch(): dial tcp :54808: getsockopt: connection refused
--- FAIL: TestBreakpoint (10.04s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestBreakpoint
    proc_test.go:67: Launch(): dial tcp :54860: getsockopt: connection refused
--- FAIL: TestBreakpointInSeperateGoRoutine (10.22s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestBreakpointInSeperateGoRoutine
    proc_test.go:67: Launch(): dial tcp :54900: getsockopt: connection refused
--- FAIL: TestBreakpointWithNonExistantFunction (10.04s)
    proc_test.go:67: Launch(): dial tcp :54939: getsockopt: connection refused
--- FAIL: TestClearBreakpointBreakpoint (10.03s)
    proc_test.go:67: Launch(): dial tcp :54982: getsockopt: connection refused
--- FAIL: TestNextGeneral (10.24s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestNextGeneral
    proc_test.go:67: Launch(): dial tcp :55023: getsockopt: connection refused
--- FAIL: TestNextConcurrent (10.23s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestNextConcurrent
    proc_test.go:67: Launch(): dial tcp :55049: getsockopt: connection refused
--- FAIL: TestNextConcurrentVariant2 (10.05s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestNextConcurrentVariant2
    proc_test.go:67: Launch(): dial tcp :55077: getsockopt: connection refused
--- FAIL: TestNextFunctionReturn (10.04s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestNextFunctionReturn
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestNextFunctionReturn
    proc_test.go:67: Launch(): dial tcp :55100: getsockopt: connection refused
--- FAIL: TestNextFunctionReturnDefer (10.21s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestNextFunctionReturnDefer
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestNextFunctionReturnDefer
    proc_test.go:67: Launch(): dial tcp :55127: getsockopt: connection refused
--- FAIL: TestNextNetHTTP (10.44s)
    proc_test.go:67: Launch(): dial tcp :55161: getsockopt: connection refused
--- FAIL: TestRuntimeBreakpoint (10.21s)
    proc_test.go:67: Launch(): dial tcp :55187: getsockopt: connection refused
--- FAIL: TestFindReturnAddress (10.04s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestFindReturnAddress
    proc_test.go:67: Launch(): dial tcp :55212: getsockopt: connection refused
--- FAIL: TestFindReturnAddressTopOfStackFn (10.17s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestFindReturnAddressTopOfStackFn
    proc_test.go:67: Launch(): dial tcp :55239: getsockopt: connection refused
--- FAIL: TestSwitchThread (10.04s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestSwitchThread
    proc_test.go:67: Launch(): dial tcp :55267: getsockopt: connection refused
--- FAIL: TestStacktrace (10.15s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestStacktrace
    proc_test.go:67: Launch(): dial tcp :55294: getsockopt: connection refused
--- FAIL: TestStacktrace2 (10.21s)
    proc_test.go:67: Launch(): dial tcp :55323: getsockopt: connection refused
--- FAIL: TestStacktraceGoroutine (10.15s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestStacktraceGoroutine
    proc_test.go:67: Launch(): dial tcp :55349: getsockopt: connection refused
--- FAIL: TestGetG (10.04s)
    proc_test.go:67: Launch(): dial tcp :55374: getsockopt: connection refused
--- FAIL: TestContinueMulti (10.20s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestContinueMulti
    proc_test.go:67: Launch(): dial tcp :55400: getsockopt: connection refused
--- FAIL: TestBreakpointOnFunctionEntry (10.04s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestBreakpointOnFunctionEntry
    proc_test.go:67: Launch(): dial tcp :55423: getsockopt: connection refused
--- FAIL: TestProcessReceivesSIGCHLD (10.22s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestProcessReceivesSIGCHLD
    proc_test.go:67: Launch(): dial tcp :55449: getsockopt: connection refused
--- FAIL: TestIssue239 (10.22s)
    proc_test.go:67: Launch(): dial tcp :55479: getsockopt: connection refused
--- FAIL: TestVariableEvaluation (10.22s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestVariableEvaluation
    proc_test.go:67: Launch(): dial tcp :55504: getsockopt: connection refused
--- FAIL: TestFrameEvaluation (10.04s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestFrameEvaluation
    proc_test.go:67: Launch(): dial tcp :55529: getsockopt: connection refused
--- FAIL: TestPointerSetting (10.26s)
    proc_test.go:67: Launch(): dial tcp :55556: getsockopt: connection refused
--- FAIL: TestVariableFunctionScoping (10.05s)
    proc_test.go:67: Launch(): dial tcp :55593: getsockopt: connection refused
--- FAIL: TestRecursiveStructure (10.03s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestRecursiveStructure
    proc_test.go:67: Launch(): dial tcp :55617: getsockopt: connection refused
--- FAIL: TestIssue316 (10.04s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestIssue316
    proc_test.go:67: Launch(): dial tcp :55639: getsockopt: connection refused
--- FAIL: TestIssue325 (10.03s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestIssue325
    proc_test.go:67: Launch(): dial tcp :55665: getsockopt: connection refused
--- FAIL: TestBreakpointCounts (10.50s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestBreakpointCounts
    proc_test.go:67: Launch(): dial tcp :55693: getsockopt: connection refused
--- FAIL: TestIssue262 (10.21s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestIssue262
    proc_test.go:67: Launch(): dial tcp :55719: getsockopt: connection refused
--- FAIL: TestIssue305 (10.16s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestIssue305
    proc_test.go:67: Launch(): dial tcp :55744: getsockopt: connection refused
--- FAIL: TestPointerLoops (10.03s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestPointerLoops
    proc_test.go:67: Launch(): dial tcp :55767: getsockopt: connection refused
--- FAIL: TestCondBreakpoint (10.04s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestCondBreakpoint
    proc_test.go:67: Launch(): dial tcp :55792: getsockopt: connection refused
--- FAIL: TestCondBreakpointError (10.03s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestCondBreakpointError
    proc_test.go:67: Launch(): dial tcp :55816: getsockopt: connection refused
--- FAIL: TestIssue356 (10.03s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestIssue356
    proc_test.go:67: Launch(): dial tcp :55877: getsockopt: connection refused
--- FAIL: TestStepIntoFunction (10.26s)
    proc_test.go:67: Launch(): dial tcp :55904: getsockopt: connection refused
--- FAIL: TestIssue384 (10.54s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestIssue384
    proc_test.go:67: Launch(): dial tcp :55939: getsockopt: connection refused
--- FAIL: TestIssue332_Part1 (10.55s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestIssue332_Part1
    proc_test.go:67: Launch(): dial tcp :55966: getsockopt: connection refused
--- FAIL: TestIssue332_Part2 (10.04s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestIssue332_Part2
    proc_test.go:67: Launch(): dial tcp :55991: getsockopt: connection refused
--- FAIL: TestIssue396 (10.32s)
    proc_test.go:67: Launch(): dial tcp :56018: getsockopt: connection refused
--- FAIL: TestIssue414 (10.16s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestIssue414
    proc_test.go:67: Launch(): dial tcp :56044: getsockopt: connection refused
--- FAIL: TestPackageVariables (10.04s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestPackageVariables
    proc_test.go:67: Launch(): dial tcp :56069: getsockopt: connection refused
--- FAIL: TestIssue149 (10.15s)
    proc_test.go:67: Launch(): dial tcp :56094: getsockopt: connection refused
--- FAIL: TestPanicBreakpoint (10.15s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestPanicBreakpoint
    proc_test.go:67: Launch(): dial tcp :56120: getsockopt: connection refused
--- FAIL: TestCmdLineArgs (10.22s)
    proc_test.go:101: Launch(): dial tcp :56148: getsockopt: connection refused
--- FAIL: TestIssue462 (10.03s)
    proc_test.go:67: Launch(): dial tcp :56171: getsockopt: connection refused
--- FAIL: TestNextParked (10.04s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestNextParked
    proc_test.go:67: Launch(): dial tcp :56197: getsockopt: connection refused
--- FAIL: TestStepParked (10.03s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestStepParked
    proc_test.go:67: Launch(): dial tcp :56221: getsockopt: connection refused
--- FAIL: TestIssue573 (10.20s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestIssue573
    proc_test.go:67: Launch(): dial tcp :56255: getsockopt: connection refused
--- FAIL: TestTestvariables2Prologue (10.04s)
    proc_test.go:67: Launch(): dial tcp :56279: getsockopt: connection refused
--- FAIL: TestNextDeferReturnAndDirectCall (10.15s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestNextDeferReturnAndDirectCall
    proc_test.go:67: Launch(): dial tcp :56305: getsockopt: connection refused
--- FAIL: TestNextPanicAndDirectCall (10.05s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestNextPanicAndDirectCall
    proc_test.go:67: Launch(): dial tcp :56328: getsockopt: connection refused
--- FAIL: TestStepCall (10.04s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestStepCall
    proc_test.go:67: Launch(): dial tcp :56352: getsockopt: connection refused
--- FAIL: TestStepCallPtr (10.18s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/proc_test.TestStepCallPtr
    proc_test.go:67: Launch(): dial tcp :56380: getsockopt: connection refused
SIGQUIT: quit
PC=0x405b3bb m=0 sigcode=0

goroutine 0 [idle]:
runtime.mach_semaphore_wait(0xf03, 0xe, 0x0, 0x0, 0x0, 0x462bd00, 0x7fff5fbff1b0, 0x4055bd3, 0xffffffffffffffff, 0x0, ...)
    /usr/local/Cellar/go/1.8.1/libexec/src/runtime/sys_darwin_amd64.s:415 +0xb
runtime.semasleep1(0xffffffffffffffff, 0x0)
    /usr/local/Cellar/go/1.8.1/libexec/src/runtime/os_darwin.go:413 +0x4b
runtime.semasleep.func1()
    /usr/local/Cellar/go/1.8.1/libexec/src/runtime/os_darwin.go:432 +0x33
runtime.systemstack(0x7fff5fbff1d8)
    /usr/local/Cellar/go/1.8.1/libexec/src/runtime/asm_amd64.s:343 +0xab
runtime.semasleep(0xffffffffffffffff, 0x0)
    /usr/local/Cellar/go/1.8.1/libexec/src/runtime/os_darwin.go:433 +0x4d
runtime.notesleep(0x462c170)
    /usr/local/Cellar/go/1.8.1/libexec/src/runtime/lock_sema.go:166 +0xb2
runtime.stopm()
    /usr/local/Cellar/go/1.8.1/libexec/src/runtime/proc.go:1650 +0xad
runtime.findrunnable(0xc42001f300, 0x0)
    /usr/local/Cellar/go/1.8.1/libexec/src/runtime/proc.go:2102 +0x2e4
runtime.schedule()
    /usr/local/Cellar/go/1.8.1/libexec/src/runtime/proc.go:2222 +0x14c
runtime.park_m(0xc4200c2680)
    /usr/local/Cellar/go/1.8.1/libexec/src/runtime/proc.go:2285 +0xab
runtime.mcall(0x7fff5fbff3b0)
    /usr/local/Cellar/go/1.8.1/libexec/src/runtime/asm_amd64.s:269 +0x5b

goroutine 1 [chan receive]:
testing.(*T).Run(0xc420075040, 0x4441dc3, 0x16, 0x4451ab0, 0x405b000)
    /usr/local/Cellar/go/1.8.1/libexec/src/testing/testing.go:698 +0x2f4
testing.runTests.func1(0xc420075040)
    /usr/local/Cellar/go/1.8.1/libexec/src/testing/testing.go:882 +0x67
testing.tRunner(0xc420075040, 0xc420059ca0)
    /usr/local/Cellar/go/1.8.1/libexec/src/testing/testing.go:657 +0x96
testing.runTests(0xc4200f5080, 0x4626340, 0x5a, 0x5a, 0x0)
    /usr/local/Cellar/go/1.8.1/libexec/src/testing/testing.go:888 +0x2c1
testing.(*M).Run(0xc420059f20, 0x0)
    /usr/local/Cellar/go/1.8.1/libexec/src/testing/testing.go:822 +0xfc
github.com/derekparker/delve/pkg/proc/test.RunTestsWithFixtures(0xc420059f20, 0x8)
    /Users/schultz9999/gocode/src/github.com/derekparker/delve/pkg/proc/test/support.go:89 +0x40
github.com/derekparker/delve/pkg/proc_test.TestMain(0xc420059f20)
    /Users/schultz9999/gocode/src/github.com/derekparker/delve/pkg/proc/proc_test.go:45 +0x8c
main.main()
    github.com/derekparker/delve/pkg/proc/_test/_testmain.go:232 +0xf7

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
    /usr/local/Cellar/go/1.8.1/libexec/src/runtime/asm_amd64.s:2197 +0x1

goroutine 140 [sleep]:
time.Sleep(0x3b9aca00)
    /usr/local/Cellar/go/1.8.1/libexec/src/runtime/time.go:59 +0xf9
github.com/derekparker/delve/pkg/proc/gdbserial.Connect(0x0, 0x0, 0xc420282f48, 0x6, 0xc420279720, 0x43, 0x0, 0xa, 0xc420277ab0, 0x0, ...)
    /Users/schultz9999/gocode/src/github.com/derekparker/delve/pkg/proc/gdbserial/gdbserver.go:179 +0xdc
github.com/derekparker/delve/pkg/proc/gdbserial.LLDBLaunch(0xc420178e08, 0x1, 0x1, 0x4437c04, 0x1, 0x43, 0xc42024efc0, 0x52)
    /Users/schultz9999/gocode/src/github.com/derekparker/delve/pkg/proc/gdbserial/gdbserver.go:367 +0x3c5
github.com/derekparker/delve/pkg/proc_test.withTestProcess(0x443b776, 0x9, 0x45f4120, 0xc420281d40, 0xc42005be90)
    /Users/schultz9999/gocode/src/github.com/derekparker/delve/pkg/proc/proc_test.go:57 +0x4db
github.com/derekparker/delve/pkg/proc_test.testseq(0x443b776, 0x9, 0x1, 0xc420178f28, 0x7, 0x7, 0x0, 0x0, 0xc420281d40)
    /Users/schultz9999/gocode/src/github.com/derekparker/delve/pkg/proc/proc_test.go:428 +0xf6
github.com/derekparker/delve/pkg/proc_test.TestStepReturnAndPanic(0xc420281d40)
    /Users/schultz9999/gocode/src/github.com/derekparker/delve/pkg/proc/proc_test.go:2178 +0xab
testing.tRunner(0xc420281d40, 0x4451ab0)
    /usr/local/Cellar/go/1.8.1/libexec/src/testing/testing.go:657 +0x96
created by testing.(*T).Run
    /usr/local/Cellar/go/1.8.1/libexec/src/testing/testing.go:697 +0x2ca

rax    0xe
rbx    0x462c060
rcx    0x7fff5fbff150
rdx    0x7fff5fbff1d8
rdi    0xf03
rsi    0x1
rbp    0x7fff5fbff188
rsp    0x7fff5fbff150
r8     0x0
r9     0x0
r10    0x0
r11    0x246
r12    0x13
r13    0xffffffbb
r14    0x200
r15    0x100
rip    0x405b3bb
rflags 0x246
cs     0x7
fs     0x0
gs     0x0
*** Test killed with quit: ran too long (10m0s).
FAIL    github.com/derekparker/delve/pkg/proc   600.011s
ok      github.com/derekparker/delve/pkg/proc/core  0.080s
ok      github.com/derekparker/delve/pkg/proc/gdbserial 0.576s
?       github.com/derekparker/delve/pkg/proc/native    [no test files]
?       github.com/derekparker/delve/pkg/proc/test  [no test files]
/var/folders/z9/skz2jb0s4xg03nbtb0z3s3h80000gn/T/go-build672284076/github.com/derekparker/delve/pkg/terminal/_test/terminal.test: no identity found
0  0x0000000000000000 in (nil)
   at irrelevant.go:10
--- FAIL: TestIssue411 (10.24s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/terminal.TestIssue411
    command_test.go:111: could not launch process: dial tcp :54672: getsockopt: connection refused
--- FAIL: TestScopePrefix (10.15s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/terminal.TestScopePrefix
    command_test.go:111: could not launch process: dial tcp :54726: getsockopt: connection refused
--- FAIL: TestOnPrefix (10.04s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/terminal.TestOnPrefix
    command_test.go:111: could not launch process: dial tcp :54773: getsockopt: connection refused
--- FAIL: TestNoVars (10.21s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/terminal.TestNoVars
    command_test.go:111: could not launch process: dial tcp :54816: getsockopt: connection refused
--- FAIL: TestOnPrefixLocals (10.04s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/terminal.TestOnPrefixLocals
    command_test.go:111: could not launch process: dial tcp :54866: getsockopt: connection refused
--- FAIL: TestIssue387 (10.26s)
    support.go:129: enabling recording for github.com/derekparker/delve/pkg/terminal.TestIssue387
    command_test.go:111: could not launch process: dial tcp :54910: getsockopt: connection refused
--- FAIL: TestListCmd (10.23s)
    command_test.go:111: could not launch process: dial tcp :54949: getsockopt: connection refused
--- FAIL: TestIssue827 (10.44s)
    command_test.go:111: could not launch process: dial tcp :54992: getsockopt: connection refused
FAIL
FAIL    github.com/derekparker/delve/pkg/terminal   81.857s
?       github.com/derekparker/delve/pkg/version    [no test files]
?       github.com/derekparker/delve/service    [no test files]
?       github.com/derekparker/delve/service/api    [no test files]
ok      github.com/derekparker/delve/service/debugger   0.129s
?       github.com/derekparker/delve/service/rpc1   [no test files]
?       github.com/derekparker/delve/service/rpc2   [no test files]
?       github.com/derekparker/delve/service/rpccommon  [no test files]
/var/folders/z9/skz2jb0s4xg03nbtb0z3s3h80000gn/T/go-build672284076/github.com/derekparker/delve/service/test/_test/test.test: no identity found
--- FAIL: Test1Restart_afterExit (10.20s)
    integration1_test.go:38: could not launch process: dial tcp :54721: getsockopt: connection refused
--- FAIL: Test1Restart_breakpointPreservation (10.04s)
    integration1_test.go:38: could not launch process: dial tcp :54770: getsockopt: connection refused
--- FAIL: Test1Restart_duringStop (10.03s)
    integration1_test.go:38: could not launch process: dial tcp :54811: getsockopt: connection refused
--- FAIL: Test1ClientServer_exit (10.03s)
    integration1_test.go:38: could not launch process: dial tcp :54863: getsockopt: connection refused
--- FAIL: Test1ClientServer_step (10.20s)
    integration1_test.go:38: could not launch process: dial tcp :54905: getsockopt: connection refused
--- FAIL: Test1NextGeneral (10.20s)
    integration1_test.go:38: could not launch process: dial tcp :54944: getsockopt: connection refused
--- FAIL: Test1NextFunctionReturn (10.04s)
    integration1_test.go:38: could not launch process: dial tcp :54985: getsockopt: connection refused
--- FAIL: Test1ClientServer_breakpointInMainThread (10.02s)
    integration1_test.go:38: could not launch process: dial tcp :55027: getsockopt: connection refused
--- FAIL: Test1ClientServer_breakpointInSeparateGoroutine (10.21s)
    integration1_test.go:38: could not launch process: dial tcp :55054: getsockopt: connection refused
--- FAIL: Test1ClientServer_breakAtNonexistentPoint (10.05s)
    integration1_test.go:38: could not launch process: dial tcp :55080: getsockopt: connection refused
--- FAIL: Test1ClientServer_clearBreakpoint (10.04s)
    integration1_test.go:38: could not launch process: dial tcp :55103: getsockopt: connection refused
--- FAIL: Test1ClientServer_switchThread (10.03s)
    integration1_test.go:38: could not launch process: dial tcp :55130: getsockopt: connection refused
--- FAIL: Test1ClientServer_infoLocals (10.03s)
    integration1_test.go:38: could not launch process: dial tcp :55159: getsockopt: connection refused
--- FAIL: Test1ClientServer_infoArgs (10.04s)
    integration1_test.go:38: could not launch process: dial tcp :55183: getsockopt: connection refused
--- FAIL: Test1ClientServer_traceContinue (10.22s)
    integration1_test.go:38: could not launch process: dial tcp :55210: getsockopt: connection refused
--- FAIL: Test1ClientServer_traceContinue2 (10.04s)
    integration1_test.go:38: could not launch process: dial tcp :55235: getsockopt: connection refused
--- FAIL: Test1ClientServer_FindLocations (10.23s)
    integration1_test.go:38: could not launch process: dial tcp :55265: getsockopt: connection refused
--- FAIL: Test1ClientServer_FindLocationsAddr (10.20s)
    integration1_test.go:38: could not launch process: dial tcp :55290: getsockopt: connection refused
--- FAIL: Test1ClientServer_EvalVariable (10.23s)
    integration1_test.go:38: could not launch process: dial tcp :55318: getsockopt: connection refused
--- FAIL: Test1ClientServer_SetVariable (10.04s)
    integration1_test.go:38: could not launch process: dial tcp :55345: getsockopt: connection refused
--- FAIL: Test1ClientServer_FullStacktrace (10.15s)
    integration1_test.go:38: could not launch process: dial tcp :55372: getsockopt: connection refused
--- FAIL: Test1Issue355 (10.04s)
    integration1_test.go:38: could not launch process: dial tcp :55396: getsockopt: connection refused
--- FAIL: Test1Disasm (10.04s)
    integration1_test.go:38: could not launch process: dial tcp :55421: getsockopt: connection refused
--- FAIL: Test1NegativeStackDepthBug (10.04s)
    integration1_test.go:38: could not launch process: dial tcp :55445: getsockopt: connection refused
--- FAIL: Test1ClientServer_CondBreakpoint (10.22s)
    integration1_test.go:38: could not launch process: dial tcp :55474: getsockopt: connection refused
--- FAIL: Test1SkipPrologue (10.04s)
    integration1_test.go:38: could not launch process: dial tcp :55500: getsockopt: connection refused
--- FAIL: Test1SkipPrologue2 (10.21s)
    integration1_test.go:38: could not launch process: dial tcp :55527: getsockopt: connection refused
--- FAIL: Test1Issue419 (10.23s)
    integration1_test.go:38: could not launch process: dial tcp :55552: getsockopt: connection refused
--- FAIL: Test1TypesCommand (10.33s)
    integration1_test.go:38: could not launch process: dial tcp :55591: getsockopt: connection refused
--- FAIL: Test1Issue406 (10.30s)
    integration1_test.go:38: could not launch process: dial tcp :55619: getsockopt: connection refused
--- FAIL: TestRestart_afterExit (10.03s)
    integration2_test.go:55: could not launch process: dial tcp :55668: getsockopt: connection refused
--- FAIL: TestRestart_breakpointPreservation (10.03s)
    support.go:129: enabling recording for github.com/derekparker/delve/service/test_test.TestRestart_breakpointPreservation
    integration2_test.go:55: could not launch process: dial tcp :55691: getsockopt: connection refused
--- FAIL: TestRestart_duringStop (10.03s)
    integration2_test.go:55: could not launch process: dial tcp :55714: getsockopt: connection refused
--- FAIL: TestClientServer_exit (10.04s)
    support.go:129: enabling recording for github.com/derekparker/delve/service/test_test.TestClientServer_exit
    integration2_test.go:55: could not launch process: dial tcp :55740: getsockopt: connection refused
--- FAIL: TestClientServer_step (10.04s)
    support.go:129: enabling recording for github.com/derekparker/delve/service/test_test.TestClientServer_step
    integration2_test.go:55: could not launch process: dial tcp :55765: getsockopt: connection refused
--- FAIL: TestClientServer_stepout (10.04s)
    support.go:129: enabling recording for github.com/derekparker/delve/service/test_test.TestClientServer_stepout
    integration2_test.go:55: could not launch process: dial tcp :55789: getsockopt: connection refused
--- FAIL: TestNextGeneral (10.04s)
    support.go:129: enabling recording for github.com/derekparker/delve/service/test_test.TestNextGeneral
    integration2_test.go:55: could not launch process: dial tcp :55814: getsockopt: connection refused
--- FAIL: TestNextFunctionReturn (10.03s)
    support.go:129: enabling recording for github.com/derekparker/delve/service/test_test.TestNextFunctionReturn
    integration2_test.go:55: could not launch process: dial tcp :55875: getsockopt: connection refused
--- FAIL: TestClientServer_breakpointInMainThread (10.03s)
    support.go:129: enabling recording for github.com/derekparker/delve/service/test_test.TestClientServer_breakpointInMainThread
    integration2_test.go:55: could not launch process: dial tcp :55899: getsockopt: connection refused
--- FAIL: TestClientServer_breakpointInSeparateGoroutine (10.04s)
    support.go:129: enabling recording for github.com/derekparker/delve/service/test_test.TestClientServer_breakpointInSeparateGoroutine
    integration2_test.go:55: could not launch process: dial tcp :55934: getsockopt: connection refused
--- FAIL: TestClientServer_breakAtNonexistentPoint (10.03s)
    integration2_test.go:55: could not launch process: dial tcp :55960: getsockopt: connection refused
--- FAIL: TestClientServer_clearBreakpoint (10.04s)
    integration2_test.go:55: could not launch process: dial tcp :55986: getsockopt: connection refused
--- FAIL: TestClientServer_switchThread (10.04s)
    support.go:129: enabling recording for github.com/derekparker/delve/service/test_test.TestClientServer_switchThread
    integration2_test.go:55: could not launch process: dial tcp :56011: getsockopt: connection refused
--- FAIL: TestClientServer_infoLocals (10.04s)
    support.go:129: enabling recording for github.com/derekparker/delve/service/test_test.TestClientServer_infoLocals
    integration2_test.go:55: could not launch process: dial tcp :56036: getsockopt: connection refused
--- FAIL: TestClientServer_infoArgs (10.03s)
    support.go:129: enabling recording for github.com/derekparker/delve/service/test_test.TestClientServer_infoArgs
    integration2_test.go:55: could not launch process: dial tcp :56062: getsockopt: connection refused
--- FAIL: TestClientServer_traceContinue (10.03s)
    support.go:129: enabling recording for github.com/derekparker/delve/service/test_test.TestClientServer_traceContinue
    integration2_test.go:55: could not launch process: dial tcp :56086: getsockopt: connection refused
--- FAIL: TestClientServer_traceContinue2 (10.05s)
    support.go:129: enabling recording for github.com/derekparker/delve/service/test_test.TestClientServer_traceContinue2
    integration2_test.go:55: could not launch process: dial tcp :56112: getsockopt: connection refused
--- FAIL: TestClientServer_FindLocations (10.03s)
    integration2_test.go:55: could not launch process: dial tcp :56138: getsockopt: connection refused
--- FAIL: TestClientServer_FindLocationsAddr (10.04s)
    integration2_test.go:55: could not launch process: dial tcp :56165: getsockopt: connection refused
--- FAIL: TestClientServer_FindLocationsExactMatch (10.22s)
    integration2_test.go:55: could not launch process: dial tcp :56191: getsockopt: connection refused
--- FAIL: TestClientServer_EvalVariable (10.03s)
    integration2_test.go:55: could not launch process: dial tcp :56214: getsockopt: connection refused
--- FAIL: TestClientServer_SetVariable (10.04s)
    integration2_test.go:55: could not launch process: dial tcp :56244: getsockopt: connection refused
--- FAIL: TestClientServer_FullStacktrace (10.05s)
    support.go:129: enabling recording for github.com/derekparker/delve/service/test_test.TestClientServer_FullStacktrace
    integration2_test.go:55: could not launch process: dial tcp :56273: getsockopt: connection refused
--- FAIL: TestIssue355 (10.05s)
    support.go:129: enabling recording for github.com/derekparker/delve/service/test_test.TestIssue355
    integration2_test.go:55: could not launch process: dial tcp :56296: getsockopt: connection refused
--- FAIL: TestDisasm (10.03s)
    integration2_test.go:55: could not launch process: dial tcp :56322: getsockopt: connection refused
--- FAIL: TestNegativeStackDepthBug (10.04s)
    support.go:129: enabling recording for github.com/derekparker/delve/service/test_test.TestNegativeStackDepthBug
    integration2_test.go:55: could not launch process: dial tcp :56346: getsockopt: connection refused
--- FAIL: TestClientServer_CondBreakpoint (10.04s)
    support.go:129: enabling recording for github.com/derekparker/delve/service/test_test.TestClientServer_CondBreakpoint
    integration2_test.go:55: could not launch process: dial tcp :56371: getsockopt: connection refused
SIGQUIT: quit
PC=0x405b4b3 m=0 sigcode=0

goroutine 0 [idle]:
runtime.mach_semaphore_timedwait(0xe03, 0x3b9abec6, 0x7fff5fbff324, 0x0, 0x3b9abec65fbff340, 0x4892400, 0x7fff5fbff358, 0x4055b73, 0x3b9abec6, 0x40346da, ...)
    /usr/local/Cellar/go/1.8.1/libexec/src/runtime/sys_darwin_amd64.s:425 +0x13
runtime.semasleep1(0x3b9abec6, 0x40346da)
    /usr/local/Cellar/go/1.8.1/libexec/src/runtime/os_darwin.go:402 +0xe1
runtime.semasleep.func1()
    /usr/local/Cellar/go/1.8.1/libexec/src/runtime/os_darwin.go:432 +0x33
runtime.systemstack(0x4892400)
    /usr/local/Cellar/go/1.8.1/libexec/src/runtime/asm_amd64.s:327 +0x79
runtime.mstart()
    /usr/local/Cellar/go/1.8.1/libexec/src/runtime/proc.go:1132

goroutine 9 [syscall]:
runtime.notetsleepg(0x4891bf8, 0x3b9abec6, 0x16)
    /usr/local/Cellar/go/1.8.1/libexec/src/runtime/lock_sema.go:257 +0x4b fp=0xc42002ff60 sp=0xc42002ff20
runtime.timerproc()
    /usr/local/Cellar/go/1.8.1/libexec/src/runtime/time.go:209 +0x327 fp=0xc42002ffe0 sp=0xc42002ff60
runtime.goexit()
    /usr/local/Cellar/go/1.8.1/libexec/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc42002ffe8 sp=0xc42002ffe0
created by runtime.addtimerLocked
    /usr/local/Cellar/go/1.8.1/libexec/src/runtime/time.go:116 +0xed

goroutine 1 [chan receive]:
testing.(*T).Run(0xc420075d40, 0x45e4332, 0x10, 0x45febb0, 0x405b100)
    /usr/local/Cellar/go/1.8.1/libexec/src/testing/testing.go:698 +0x2f4
testing.runTests.func1(0xc420075d40)
    /usr/local/Cellar/go/1.8.1/libexec/src/testing/testing.go:882 +0x67
testing.tRunner(0xc420075d40, 0xc42012bca0)
    /usr/local/Cellar/go/1.8.1/libexec/src/testing/testing.go:657 +0x96
testing.runTests(0xc4200fdae0, 0x488bd20, 0x54, 0x54, 0x1)
    /usr/local/Cellar/go/1.8.1/libexec/src/testing/testing.go:888 +0x2c1
testing.(*M).Run(0xc42012bf20, 0x0)
    /usr/local/Cellar/go/1.8.1/libexec/src/testing/testing.go:822 +0xfc
github.com/derekparker/delve/pkg/proc/test.RunTestsWithFixtures(0xc42012bf20, 0x8)
    /Users/schultz9999/gocode/src/github.com/derekparker/delve/pkg/proc/test/support.go:89 +0x40
github.com/derekparker/delve/service/test_test.TestMain(0xc42012bf20)
    /Users/schultz9999/gocode/src/github.com/derekparker/delve/service/test/integration2_test.go:37 +0x8c
main.main()
    github.com/derekparker/delve/service/test/_test/_testmain.go:206 +0xf7

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
    /usr/local/Cellar/go/1.8.1/libexec/src/runtime/asm_amd64.s:2197 +0x1

goroutine 174 [sleep]:
time.Sleep(0x3b9aca00)
    /usr/local/Cellar/go/1.8.1/libexec/src/runtime/time.go:59 +0xf9
github.com/derekparker/delve/pkg/proc/gdbserial.Connect(0x0, 0x0, 0xc420282348, 0x6, 0xc4201ba050, 0x48, 0x0, 0xa, 0xc420041c38, 0x402b6df, ...)
    /Users/schultz9999/gocode/src/github.com/derekparker/delve/pkg/proc/gdbserial/gdbserver.go:179 +0xdc
github.com/derekparker/delve/pkg/proc/gdbserial.LLDBLaunch(0xc42028c310, 0x1, 0x1, 0x0, 0x0, 0xc420018850, 0xc420041d20, 0x42ba030)
    /Users/schultz9999/gocode/src/github.com/derekparker/delve/pkg/proc/gdbserial/gdbserver.go:367 +0x3c5
github.com/derekparker/delve/service/debugger.(*Debugger).Launch(0xc4202778c0, 0xc42028c310, 0x1, 0x1, 0x0, 0x0, 0xc420041e00, 0x48, 0x50, 0xc42028a5a0)
    /Users/schultz9999/gocode/src/github.com/derekparker/delve/service/debugger/debugger.go:115 +0x198
github.com/derekparker/delve/service/debugger.New(0xc42028a5a0, 0xc42028a5a0, 0xc420041e48, 0x40119e8)
    /Users/schultz9999/gocode/src/github.com/derekparker/delve/service/debugger/debugger.go:98 +0x41c
github.com/derekparker/delve/service/rpccommon.(*ServerImpl).Run(0xc42028a550, 0xc42028c300, 0xc42028a550)
    /Users/schultz9999/gocode/src/github.com/derekparker/delve/service/rpccommon/server.go:119 +0x12d
github.com/derekparker/delve/service/test_test.withTestClient2(0x45e2e20, 0xe, 0xc4202868f0, 0xc42005bf88)
    /Users/schultz9999/gocode/src/github.com/derekparker/delve/service/test/integration2_test.go:54 +0x26c
github.com/derekparker/delve/service/test_test.TestSkipPrologue(0xc4202868f0)
    /Users/schultz9999/gocode/src/github.com/derekparker/delve/service/test/integration2_test.go:1075 +0x64
testing.tRunner(0xc4202868f0, 0x45febb0)
    /usr/local/Cellar/go/1.8.1/libexec/src/testing/testing.go:657 +0x96
created by testing.(*T).Run
    /usr/local/Cellar/go/1.8.1/libexec/src/testing/testing.go:697 +0x2ca

rax    0xe
rbx    0x0
rcx    0x7fff5fbff2f8
rdx    0x3b9abec6
rdi    0xe03
rsi    0x0
rbp    0x7fff5fbff330
rsp    0x7fff5fbff2f8
r8     0xc4200beb60
r9     0x31
r10    0x79ecb861
r11    0x206
r12    0x9f8d8de0ee72
r13    0xa57a2d2bcb70
r14    0x14bfeb27eba4ec00
r15    0xf3
rip    0x405b4b3
rflags 0x206
cs     0x7
fs     0x0
gs     0x0
*** Test killed with quit: ran too long (10m0s).
FAIL    github.com/derekparker/delve/service/test   600.013s
?       github.com/derekparker/delve/service/test/cmd   [no test files]
make: *** [test] Error 1

@schultz9999:

  1. Do you have this file: /Library/Developer/CommandLineTools/Library/PrivateFrameworks/LLDB.framework/Versions/A/Resources/debugserver?

  2. If you have debugserver you should be getting a prompt from macOS requesting authorization to debug, are you?

You are da man!... You nailed it. I didn't have debugserver so I have installed it with xcode-select --install. That fixed tests. After running make install, I've noticed that it was installed into my home dir but where would return the path from the global bin. I uninstalled all versions of delve with brew uninstall --force delve and voila!.. Thanks again for helping and your time.

BTW, I did get the prompt. I can't say though if I were not expecting it, I would not miss it. Probably not, if it were the first thing I would see.

My guess is that you need to run Xcode at least once for this to work (and if you update Xcode you need to run it after doing so)

Was this page helpful?
0 / 5 - 0 ratings