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

Support for debugging go with gdb #187

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ezaquarii
Copy link

This PR introduces configuration to debug
Go applications with GDB, since Delve is not
supported on OpenBSD.

#94

At this moment, this PR has been tested on Fedora 40 with GDB 15.2.

For reasons unknown, the debugger fails to hit the breakpoint unless
:stopAtBeginningOfMainSubprogram is set to t.

It used to work with older version of dape, so could it be some sort of regression perhaps?

Debugging test using go-gdb-test target doesn't work because it can't stop at beginning of main.

go-gdb target works.

@svaante I'll probably need some assistance as I'm not familiar enough with DAP to land this.

This PR introduces configuration to debug
Go applications with GDB, since Delve is not
supported on OpenBSD.
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

Successfully merging this pull request may close these issues.

1 participant