You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 15, 2023. It is now read-only.
What version of Delve are you using (dlv version)?
0.11.0-alpha on both Windows + Linux
What version of Go are you using? (go version)?
go version go1.7 windows/amd64
go version go1.7.4 linux/amd64
What operating system and processor architecture are you using?
Windows 10 64 bit running VS code
Any linux (tested with Ubuntu 16.4) running the test subject & headless dlv
What did you do?
At debug time, add/remove breakpoint in a library file
What did you expect to see?
Breakpoint accepted and debugee paused when hit
What did you see instead?
Unverified breakpoint, breakpoint not set.
In my launch.json I have the remotePath set to /home/fozi/go/src/test/main, If I set it to anything else (e.g. opening the test folder and remove /main) none of the breakpoints work. The library I tested with is in /home/fozi/go/src/test/lib, but It would be nice if this would work at the very least in anything under $GOPATH/src (assuming it's reachable) including vendor folders. Windows (and VS Code) accessed these files on a samba share so the paths look like \\vmmachine\fozi\go\src\test\main.
I tried this in dlv command line mode directly and it seems to work fine. I think it's simply that the file name translation needs to be more sophisticated.
In my launch.json I have the remotePath set to
/home/fozi/go/src/test/main, If I set it to anything else (e.g. opening thetestfolder and remove/main) none of the breakpoints work. The library I tested with is in/home/fozi/go/src/test/lib, but It would be nice if this would work at the very least in anything under$GOPATH/src(assuming it's reachable) including vendor folders. Windows (and VS Code) accessed these files on a samba share so the paths look like\\vmmachine\fozi\go\src\test\main.I tried this in dlv command line mode directly and it seems to work fine. I think it's simply that the file name translation needs to be more sophisticated.