Those who are trying to debug codes through Visual Studio might have faced this Issue – Occasionally sometime more frequently. The following below steps advice you how to fix the this issue.
1. FIRST AND IMPORTANT THING TO DO:
“Clean solution”, this deletes all the compiled and temporary files associated with a solution.
2. THIS ALMOST SOLVES THE PROBLEM:
Disable the “Just My Code” option in the Debug/General settings
3. IF NOT TRY THIS:
Right mouse click your project
select the [Build] tab
make sure [Define DEBUG constant] and [Define TRACE constant] are checked
Click the [Advanced] button at the bottom of the Build tabpage
Make sure that [Debug Info:] is set to [full]
Click [OK] and rebuild the project ;-)(step 6 generates the .pdb files, these are the debugging symbols)
Try following the above steps…. If you know other way to resolve this issue, please share it comment section below 🙂
–Happy Sharing 🙂