V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
The Go Programming Language
http://golang.org/
Go Playground
Go Projects
Revel Web Framework
Ayanokouji
V2EX  ›  Go 编程语言

Macos 15 Goland 无法 debug

  •  
  •   Ayanokouji · 20 天前 · 1359 次点击
    错误 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
    6 条回复    2024-09-24 08:57:48 +08:00
    Akashic
        1
    Akashic  
       20 天前
    有一个之前版本也发生过的印象。。。
    Ayanokouji
        2
    Ayanokouji  
    OP
       18 天前
    今天更新的 goland 2024.2.2 依旧有此问题

    could not launch process: error reading debug_info: decoding dwarf section info at offset 0xddd2f0: DW_FORM_strx with no .debug_str_offsets section
    zatams
        3
    zatams  
       17 天前
    试了下,果然可以了
    aduo
        4
    aduo  
       15 天前
    更新了更新了.
    aduo
        5
    aduo  
       15 天前
    @aduo #4 goland 2024.2.2.1 release note: "This release resolves the issue on macOS Sequoia where the debugger would terminate with the error message could not launch process: no debug_str_offsets section"
    Ayanokouji
        6
    Ayanokouji  
    OP
       14 天前
    @aduo 是的 终于解决了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1106 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 18:26 · PVG 02:26 · LAX 11:26 · JFK 14:26
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.