A program database (PDB) file holds debugging and project state information that allows incremental linking of a Debug configuration of your program.
If debugging is enabled but if project not generating pdb file which contains the debug configuration then it will not hit the debug point.
- To enable creating pdb file for project follow the steps given below(below screenshot Step 1).
(1) Right Click on Project and Click on Properties.
(2) Select Build Option
(3) At bottom, click on “Advanced…” button and it will open up with popup “Advanced Build Settings”
(4) Under “Output” section, select “full” from dropdownlist of “Debug Info”
(5) Click on OK button
(6) Now, clean your solution and rebuild solution
If debugging is enabled but if project not generating pdb file which contains the debug configuration then it will not hit the debug point.
- To enable creating pdb file for project follow the steps given below(below screenshot Step 1).
(1) Right Click on Project and Click on Properties.
(2) Select Build Option
(3) At bottom, click on “Advanced…” button and it will open up with popup “Advanced Build Settings”
(4) Under “Output” section, select “full” from dropdownlist of “Debug Info”
(5) Click on OK button
(6) Now, clean your solution and rebuild solution
Step 1 |
If above step not works for your or you couldn’t find location specified then follow steps given below (below screenshot Step 2).
(1) Right Click on Project and Click on Properties.
(2) Select Build Compile
(3) At bottom, click on “Advanced Compile Options…” button and it will open up with popup “Advanced Compile Settings”
(4) Under “Optimizations” section, select “full” from dropdownlist of “Generate Debug Info”
(5) Click on OK button
(6) Now, clean your solution and rebuild solution
(2) Select Build Compile
(3) At bottom, click on “Advanced Compile Options…” button and it will open up with popup “Advanced Compile Settings”
(4) Under “Optimizations” section, select “full” from dropdownlist of “Generate Debug Info”
(5) Click on OK button
(6) Now, clean your solution and rebuild solution
Step 2 |
It will generate new pdb file for the project.
- That’s it for creating pdb file for project.