Closed qingyunha closed 4 years ago
What version of Delve are you using (dlv version)? Delve Debugger Version: 1.4.0 Build: $Id: 67422e6f7148fa1efa0eac1423ab5594b223d93b $
dlv version
What version of Go are you using? (go version)? go version go1.13.5 linux/amd64
go version
What operating system and processor architecture are you using? linux/amd64
What did you do? dlv exec a stripped binary.
dlv exec
What did you expect to see? dlv exit
What did you see instead? dlv exit with error message could not launch process: could not open debug info but leaving the target process running.
could not launch process: could not open debug info
@qingyunha Whether this stripped binary runs directly is also a dead cycle?(for example, listen tcp port)
Yes, It's a long running process.
What version of Delve are you using (
dlv version
)? Delve Debugger Version: 1.4.0 Build: $Id: 67422e6f7148fa1efa0eac1423ab5594b223d93b $What version of Go are you using? (
go version
)? go version go1.13.5 linux/amd64What operating system and processor architecture are you using? linux/amd64
What did you do?
dlv exec
a stripped binary.What did you expect to see? dlv exit
What did you see instead? dlv exit with error message
could not launch process: could not open debug info
but leaving the target process running.