Skip to main content

macOS 15 Goland 无法 debug错误 DW_FORM_strx with no .debug_str_offsets section解决方案1. go install github.com/go-delve/delve/cmd/dlv@master install latest dlv2. copy /Users/{YOUR_HOME_NAME}/go/bin/dlv to /Users/{YOUR_HOME_NAME}/Applications/GoLand.app/Contents/plugins/go-plugin/lib/dlv/macarm/dlv replace dlv3. reopen Goland

  1. macOS 15 Goland 无法 debug

    错误 DW_FORM_strx with no .debug_str_offsets section

    解决方案

    1. go install github.com/go-delve/delve/cmd/dlv@master install latest dlv

    2. copy /Users/{YOUR_HOME_NAME}/go/bin/dlv to /Users/{YOUR_HOME_NAME}/Applications/GoLand.app/Contents/plugins/go-plugin/lib/dlv/macarm/dlv replace dlv

    3. reopen Goland

    https://www.v2ex.com/t/1073702#reply0
OKHK