Hello,
I am trying to debug my golang program by dlv on OSX.
bazel 0.7.0, rules_go latest.
If I build program by bazel, I receive error
➜ dlv attach 74960
could not attach to pid 74960: decoding dwarf section info at offset 0x0: too short
I found same issue for dlv:
https://github.com/derekparker/delve/issues/79
But static linking does not work on OSX (according to rules_go documentation).
If I build program by
dlv able to attach to my program
How to build golang binaries in bazel on OSX for working with dlv?
Thank you
Hello,
I am trying to debug my golang program by dlv on OSX.
bazel 0.7.0, rules_go latest.
If I build program by bazel, I receive error
I found same issue for dlv:
https://github.com/derekparker/delve/issues/79
But static linking does not work on OSX (according to rules_go documentation).
If I build program by
dlv able to attach to my program
How to build golang binaries in bazel on OSX for working with dlv?
Thank you