Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go的debug工具Delve #408

Open
realqhc opened this issue Jun 24, 2022 · 3 comments
Open

Go的debug工具Delve #408

realqhc opened this issue Jun 24, 2022 · 3 comments

Comments

@realqhc
Copy link

realqhc commented Jun 24, 2022

https://github.com/go-delve/delve
要检查go程序的coredump,不能用gdb,而是要用这个工具。不知道它对RV的支持如何?

更新:
service/debugger/debugger.go:32:2: found packages native (dump_linux.go) and your_linux_architecture_is_not_supported_by_delve (support_sentinel_linux.go) in /home/.../delve/pkg/proc/native

@lazyparser
Copy link
Member

ok. Let's try again.

看看是否有希望放到2023的路线图中。

@qjivy
Copy link
Contributor

qjivy commented Feb 20, 2023

RISCV尚且还不支持,dlv可以作为Roadmap中新的一项。

https://github.com/go-delve/delve/blob/master/pkg/proc/native/support_sentinel_linux.go

// This file is used to detect build on unsupported GOOS/GOARCH combinations.

//go:build linux && !amd64 && !arm64 && !386
// +build linux,!amd64,!arm64,!386

package your_linux_architecture_is_not_supported_by_delve

@mengzhuo
Copy link

mengzhuo commented Jun 1, 2024

这个工作量比较大,dlv需要不少其他项目的适配

dlv适配需要高级2个月左右,其他项目适配大概也需要1个月(发布还不确定)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants