Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
proc: Find executable should follow symbol links.
On linux platform, we simply treated `/proc/$pid/exe` as the executable of targeting process when doing `dlv attach`. The `/proc/$pid/exe` is a symbol link of the real executable file. Delve couldn't find the corrsponding external debug file based on the symbol link: ``` could not attach to pid $pid: could not open debug info ``` The fix is to evaluate the symbol links to the actual executable path.
- Loading branch information