Debugging in Go shows always shows assembly on breakpoint
已回答
I'm using the Go plugin with IntelliJ on an Intel Mac using Go 1.23.8. Recently I have been having a problem where it shows me assembly code (specifically asm_amd64.s runtime.systemstack.switch) whenever a breakpoint is reached during debugging. This is reproducible with a simple HelloWorld program. I've tried clearing caches and restarting IntelliJ but it persists. What else can I try to resolve this issue?
请先登录再写评论。
Please try the workaround described here: https://youtrack.jetbrains.com/issue/GO-18407/After-upgrading-my-Mac-to-macOS-15.4-the-debugging-feature-in-GoLand-2024.3.5-no-longer-works-as-expected.-The-debugger-always#focus=Change-27-11823834.0-0.pinned
Let me know if this helps.
The problem is often due to Delve not being compatible with Go 1. 23. Try updating Delve, downgrading Go to 1.22, disassembly fallback, checking amd64 architecture, and performing suboptimal debugging.