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 · 4 天前 · 981 次点击
    错误 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
    3 条回复    2024-09-21 14:49:24 +08:00
    Akashic
        1
    Akashic  
       4 天前
    有一个之前版本也发生过的印象。。。
    Ayanokouji
        2
    Ayanokouji  
    OP
       2 天前
    今天更新的 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  
       1 天前
    试了下,果然可以了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2262 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 00:25 · PVG 08:25 · LAX 17:25 · JFK 20:25
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.