What version of Delve are you using (dlv version)?
Version 1.0.0-rc1
Build: b6077a6
What version of Go are you using? (go version)?
1.9 windows/amd64
What operating system and processor architecture are you using?
Windows10 Pro 64bit
What did you do?
go get -u github.com/goxjs/example/tree/master/triangle
cd $GOPATH/github.com/goxjs/example/tree/master/triangle
go run main.go #Less than 2 seconds
dlv debug main.go #Between 60-90s
What did you expect to see?
Generally similar startup times, or some details of what could be causing the slow down.
What did you see instead?
30-40x slow down in startup.
It's recompiling all dependencies with optimizations disabled which unfortunately can not be cached: https://github.com/golang/go/issues/19340
This issue is currently an extreme pain.
Any update?
I would try gdb to replace delve by using go install -v <package> to compile with cached.
Most helpful comment
This issue is currently an extreme pain.