Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you actually run it? #20

Closed
wdevore opened this issue May 31, 2018 · 1 comment
Closed

How do you actually run it? #20

wdevore opened this issue May 31, 2018 · 1 comment

Comments

@wdevore
Copy link

wdevore commented May 31, 2018

I ran the "go get.." and tried "go install -i ." but I can't figure out how to run gdlv on OSX.

@wdevore wdevore closed this as completed May 31, 2018
@Nzen
Copy link

Nzen commented Sep 14, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants