2018/05/31 16:03:40 server.go:100: could not init stream "fxe": "can't fetch master manifest: got HTTP response 400"
received SIGINT, stopping process (will not forward signal)
> runtime.mach_semaphore_wait() /usr/local/opt/go/libexec/src/runtime/sys_darwin_amd64.s:540 (PC: 0x105e3ab)
Warning: debugging optimized function
535: // func mach_semaphore_wait(sema uint32) int32
536: TEXT runtime·mach_semaphore_wait(SB),NOSPLIT,$0
537: MOVL sema+0(FP), DI
538: MOVL $(0x1000000+36), AX // semaphore_wait_trap
539: SYSCALL
=> 540: MOVL AX, ret+8(FP)
541: RET
542:
543: // func mach_semaphore_timedwait(sema, sec, nsec uint32) int32
544: TEXT runtime·mach_semaphore_timedwait(SB),NOSPLIT,$0
545: MOVL sema+0(FP), DI
(dlv) s
here's a sample (I'm assuming you want readelf --debug-dump=decodedline | grep CU:
:
CU: woz_tv/db/db.go:
CU: woz_tv/db/product/product.go:
When GoLand contacts via the RPC, it asks for/home/boran/git/project/woz_tv/db/db.go
And these result in location not found
(again, I'm unable to use idiomatic go folder structure due to a hard constraint)
service/rpc2/server.go
, func (s *RPCServer) CreateBreakpoint(arg CreateBreakpointIn, out *CreateBreakpointOut) error {
to actually strip the /home/boran/git/project/
, it works
hi guys
dlv is great thing.
just one question.
When I start dlv with my go binary, dlv hangs until I connect from debugger.
dlv debug --listen=:40000 --log --log-output=/var/log/dlv.log --headless=true --api-version=2 cmd/pudge/pudge.go
API server listening at: [::]:40000
is there any way to let dlv just continue running until remote debugger connects?