Ubuntu Bash Windows 10 dlv debug session hanging #810
I am currently setting up my go enviroment on Ubuntu bash on Windows 10. And when I run dlv debug the session hangs and I never see the (dlv) prompt.
And I get the following output
After the above lines were printed the terminal just appears to be hung and I need to CTRL-C to get out of it.
I did a little debugging and found that the program never exits a for loop in the following function
func (dbp *Process) wait(pid, options int) (int, *sys.WaitStatus, error)
which is in the following file:
It seems the wpid is always returning 0 with no error and the process is never in a zombie state so the for loop goes forever.