This article explains how to solve the problem of breakpoints not working in Visual Studio.
Solution
Solution: Start debugging. As soon as you've arrived at a breakpoint or used Debug > Break All, use Debug > Windows > Modules. You'll see a list of all the assemblies that are loaded into the process. Locate the one you want to get debug info for. Right-click it and select Symbol Load Information. You'll get a dialog that lists all the directories where it looked for the .pdb file for the assembly. Verify that list against the actual .pdb location. Ensure it doesn't find an old one.In normal projects, the assembly and its .pdb file should always have been copied by the IDE into the same folder as your .exe. The bin\Debug folder of your project. Make sure you remove one from the GAC if you've been playing with it.Solution: Right-click the Solution in Solution Explorer, click "clean solution", this deletes all the compiled and temporary files associated with a solution.Solution: Right-click on solution --> PropertiesLook under Common Properties --> Startup ProjectSelect multiple startup projectsselect Start action on the projects you need to debug.Solution
Solution: Disable the "Just My Code" option in the Debug/General settings.
Solution: Run Visual Studio as an administrator.
Solution: Simply follow the procedure below
Solution: Browse to C:\Users\<YOUR USER>\AppData\Local\Temp\Temporary ASP.NET Files\vsDelete everything in this directory!Solution: Be sure your are in Debug Mode.Solution: Reinstal Visual Studio (Backup everything).
Pro WPF: Windows Presentation Foundation in .NET 3.0