Skip to content

Why can't I get detailed c code debugging information with cflags-g #838

Answered by lmb
byxzone asked this question in Q&A
Discussion options

You must be logged in to vote

Try following the example from the package documentation: https://pkg.go.dev/github.com/cilium/ebpf#example-Program-VerifierError Please note that you currently can't avoid the call to errors.As by directly formatting the error with %+v.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ti-mo
Comment options

Answer selected by lmb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants