I have an issue where Visual Studio doesn't break at any of my breakpoints with the message:
The breakpoint will not currently be hit. No symbols have been loaded for this document
I have tried pretty much all the relevant-looking solutions I was able to find but with no success at all (including the answers here).
Luckily, I have version on .git
which was working at the time of pushing it, so I tested cloning the repository on to various drives to see what would happen:
C:
(local) - This is where I run all my other projects from and have never experienced this issue. However, I can't use any breakpoints for this project.
Y:
(remote) - This is my departmental drive, where I have also done a lot of debugging in the past without this issue. The break points worked here!
H:
(remote) - This is my personal network drive - the break points did not work here.
I also tried moving the project folder around in the drives, but with the same results for each
I am completely lost with this and would really appreciate any help at all! I am also happy to run more tests if anyone can think of any.