Closed wdevore closed 6 years ago
Presumably, the contemptorary gdlv documentation assumes that we are familiar / aware that delve offers a server mode, whereby we publish to an ip and port:
dlv --headless --listen localhost:40000 debug [[ your package, ex main ]]
And then, in a separate terminal, launch gdlv:
gdlv connect localhost:40000
For me, this doesn't 'find the function context'. However, issuing commands in the 'command' pane shows that it is aware of the session, but I hadn't started to debug yet. As an example, setting a breakpoint and then letting it continue (as described in the delve documentation) connects with the expected content.
I ran the "go get.." and tried "go install -i ." but I can't figure out how to run gdlv on OSX.