закешированный к нам в целях безопасности дебаггер
The code populating runtimeTypeToDIE was incorrectly adding StaticBase to the offset. We never noticed because on statically compiled executables StaticBase is always zero and on PIE and plugins the fallback code took care of the problem anyway. A change in Go 1.17 broke the fallback code, making the issue apparent. This commit fixes the setup of runtimeTypeToDIE and disables the fallback code for Go 1.17 and later. This change also fixes a rare failure in TestPluginVariables when PIE is enabled. |
||
|---|---|---|
| _fixtures | ||
| _scripts | ||
| .teamcity | ||
| assets | ||
| cmd/dlv | ||
| Documentation | ||
| pkg | ||
| service | ||
| vendor | ||
| .cirrus.yml | ||
| .deepsource.toml | ||
| .gitattributes | ||
| .gitignore | ||
| CHANGELOG.md | ||
| CONTRIBUTING.md | ||
| go.mod | ||
| go.sum | ||
| ISSUE_TEMPLATE.md | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
The GitHub issue tracker is for bugs only. Please use the developer mailing list for any feature proposals and discussions.
About Delve
Delve is a debugger for the Go programming language. The goal of the project is to provide a simple, full featured debugging tool for Go. Delve should be easy to invoke and easy to use. Chances are if you're using a debugger, things aren't going your way. With that in mind, Delve should stay out of your way as much as possible.
