I have a multi-project solution that I was building in Visual Studio 2013 and it was working fine but now that I have upgraded to Visual Studio 2015 I can no longer hit brea
Running the VS command prompt as admin as running the command: devenv /setup
fixed this for me.
The debugger wasn't hitting breakpoints for my ASP application after migrating from my old system to my new system. I forgot to configure in IIS for debugging.
To configure IIS for debugging:
In my case I was unable to debug because I had breakpoint set in source control temporary file while analyzing file history instead of actual file in solution.
I had a similar problem, when I created a new build configuration. After hunting around settings in VS2015, I noticed that there were no *.pdb files in my build output. Obviously, debugging would not work if there were *.pdb files.
The fix for me was to go into every project's properties -> 'build' page -> click the "advanced" button at the bottom of the page -> In the dialog's 'Output' section, I set "debug info" to equal "full".
Basically, I created a new solution and project and copied all the build properties into the solution that the debugger was not stopping at break points anymore. In addition to the setting above, I also changed the following setting to match the default debug settings:
I solved this problem when checked Options->Debugging->General->Suppress jit optimization on module load. Before I did that I have also unchecked Tools->Options "Projects and Solutions" "Build and Run" "Only build startup projects and dependencies on run". Don't know if that has any reason why it works after suppress jit is unchecked.
In my case I just changed the setting of my running mode.
Before, I used "release" running mode:
And now, I'm using "debug" running mode: