go-delve / delve

Delve is a debugger for the Go programming language.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

golang cannot debug

JamesSunXX opened this issue · comments

Please answer the following before submitting your issue:

Note: Please include any substantial examples (debug session output,
stacktraces, etc) as linked gists.

If this is about source listing not showing up (or breakpoints not being
accepted) while running in a container please read our
FAQ
first.

  1. What version of Delve are you using (dlv version)?
Delve Debugger
Version: 1.22.0
Build: $Id: 61ecdbbe1b574f0dd7d7bad8b6a5d564cce981e9 $
  1. What version of Go are you using? (go version)?
go version go1.21.6 darwin/amd64
  1. What operating system and processor architecture are you using?
MacOS 14.1.1 (23B81)
  1. What did you do?
    only debug
  2. What did you see instead?
DAP server listening at: 127.0.0.1:62213
Type 'dlv help' for list of commands.
unexpected fault address 0x133e700

sloved by reinstall xcode-select.