I am using Visual Studio 2013 and I am facing a weird issue from last few days. Whenever I try to set a break point, I get an error
"The Following breakpoint cannot be set", "The breakpoint failed to bind".
I don't know what settings have changed.
I don't know if you resolved your issue but I faced the same problem and the "solution" was to change from "Release" configuration to "Debug".
Hope this Helps.
Cheers
I used a MVC project and couldn't set any Breakpoints in the Razor-View.
All my projects were build in Debug-mode and a clean+rebuild didn't help either.
I had to remove this entry:
<configuration>
<appSettings>
<add key="Microsoft.VisualStudio.Enterprise.AspNetHelper.VsInstrLocation" value="C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Performance Tools\vsinstr.exe"/>
</appSettings>
</configuration>
in the Web.config
and breakpoints worked again.
I found a related thread: Visual Studio 2013/2015 profiler adds Not publishable lines in web.config? Seems to be a Bug
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With