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?

0

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.

0

请先登录再写评论。