-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Breakpoints are not stopped for using CGO on Windows #2800
Labels
Comments
I think this is a duplicate of #2786. Check which version of mingw64 you are using. |
Sorry this issue could be a duplicate. Close it if you agree.
|
It's a duplicate of that issue. Unfortunately there is no fix for this without either downgrading msys or merging the delve specifc fix and recompiling delve with go 1.18 built from source. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please answer the following before submitting your issue:
Note: Please include any substantial examples (debug session output,
stacktraces, etc) as linked gists.
sample: github.com/kyleconroy/hello-cgo
dlv version
)?Delve Debugger Version: 1.7.2
go version
)?go version go1.17.3 windows/amd64
windows 10 amd64
built using msys2 installed with base-devel, mingw-w64-i686-toolchain, mingw-w64-x86_64-toolchain packages. And go separately installed
I tried to debug
github.com/kyleconroy/hello-cgo
usingRun and Debug
button5. What did you expect to see?
debugger to stop at breakpoints
6. What did you see instead?
vscode doesn't stop at breakpoints
I see "could not find the file f:\testing\cgo\hello.go" tooltips on the breakpoints while the process is running.
Debug Console:
The text was updated successfully, but these errors were encountered: