V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
The Go Programming Language
http://golang.org/
Go Playground
Go Projects
Revel Web Framework
Ayanokouji

Macos 15 Goland 无法 debug

  •  
  •   Ayanokouji · Sep 18, 2024 · 3522 views
    This topic created in 588 days ago, the information mentioned may be changed or developed.
    错误 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 replies    2024-09-24 08:57:48 +08:00
    Akashic
        1
    Akashic  
       Sep 18, 2024
    有一个之前版本也发生过的印象。。。
    Ayanokouji
        2
    Ayanokouji  
    OP
       Sep 20, 2024
    今天更新的 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  
       Sep 21, 2024
    试了下,果然可以了
    aduo
        4
    aduo  
       Sep 23, 2024
    更新了更新了.
    aduo
        5
    aduo  
       Sep 23, 2024
    @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
       Sep 24, 2024
    @aduo 是的 终于解决了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5632 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 02:45 · PVG 10:45 · LAX 19:45 · JFK 22:45
    ♥ Do have faith in what you're doing.