You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please note that I am not sure if this is an issue with Delve not fully supporting Go 1.10rc1 or with Go 1.10rc1 itself/something not being built with the correct flags. As the error comes from Delve code I'm filing it here first.
1. What version of Delve are you using (dlv version)?
Version: 1.0.0-rc.2
2. What version of Go are you using? (go version)?
go version go1.10rc1 linux/amd64
3. What operating system and processor architecture are you using?
Fedora 26; GOARCH="amd64"
4. What did you do?
Tried to run with debugger attached through Jetbrains Goland on a project that imports plugin. Goland setup scripts are as follows:
aarzilli
changed the title
"could not find .debug_frame section in binary" with "plugin" imported on Go 1.10rc1
support eh_frame if debug_frame is not present
Feb 7, 2018
Looks like 1.10 can't emit debug symbols when plugin is imported. This isn't a bug with delve and will be tracked on the go repository at golang/go#23733.
Please note that I am not sure if this is an issue with Delve not fully supporting Go 1.10rc1 or with Go 1.10rc1 itself/something not being built with the correct flags. As the error comes from Delve code I'm filing it here first.
1. What version of Delve are you using (
dlv version
)?Version: 1.0.0-rc.2
2. What version of Go are you using? (
go version
)?go version go1.10rc1 linux/amd64
3. What operating system and processor architecture are you using?
Fedora 26; GOARCH="amd64"
4. What did you do?
Tried to run with debugger attached through Jetbrains Goland on a project that imports
plugin
. Goland setup scripts are as follows:5. What did you expect to see?
I expected the tests to start and break at the first breakpoint.
6. What did you see instead?
could not launch process: could not find .debug_frame section in binary
I am able to repro this by simply putting in some dummy code using "plugin" in my package, eg:
The above attaches fine on Go 1.9, but not Go 1.10rc1
The text was updated successfully, but these errors were encountered: