Go delve debugger "Command failed: Access is denied." when setting breakpoint

184 Views Asked by At

I'm using the latest Go on Windows (v1.18) and the latest Delve (v1.8.2) and when I run dlv debug from the command prompt, and then try to add any breakpoint (b main:1) , it displays Command failed: Access is denied. I've confirmed the folder and source files are writeable, and I've also run dlv from an Administrator command prompt with the same result.

Thank you

1

There are 1 best solutions below

0
On

FYI for others searching, turns out that "dlv.exe" was being blocked by my antivirus software.