These are chat archives for derekparker/delve

4th
Jan 2016
Adrian Lewis
@aidylewis
Jan 04 2016 14:29

I am attempting to use delve in order to step through an open-source Go project. I assume that delve compiles the project and runs main.

[~]$ git clone https://github.com/tsenart/vegeta && cd vegeta
[vegeta]$ dlv debug
(div) si
=>no source available

Apologies, for the simple usage question!

Adrian Lewis
@aidylewis
Jan 04 2016 14:38
I also get ‘no source available’ when I install Vegeta with the Go tools
$ go get github.com/tsenart/vegeta
$ go install github.com/tsenart/vegeta
$ dlv exec vegeta
(dlv) si
=>no source available
Alessandro Arzilli
@aarzilli
Jan 04 2016 18:17
@aidylewis: set a breakpoint break main.main, then continue, then the source command works