Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.PDB file not getting generated

I have a project which I need to debug in another solution. I'm trying to generate a PDB file, but its not getting generated. However, a .PSSYM file is getting generated. Things that I have already tried:

  • Set the Configuration to Debug
  • Set Build > Advanced > Debug Info > FULL
  • Clean and Rebuild
  • Restart Visual studio
  • Rename the PSSYM to PDB extension

Why is it not getting generated? And what is this PSSYM file?

like image 792
RJP Avatar asked Jan 29 '23 13:01

RJP


2 Answers

Under Build > Advanced > Debug Info, change Debugging Info to PDB-Only.

This will generate a PDB file for your project.

like image 182
Mike Hofer Avatar answered Feb 08 '23 11:02

Mike Hofer


For me, Postsharp was messing with it, even after updating it. I set the Conditional Compilation Symbols to "SkipPostSharp" for my project and my PDB got generated.

like image 33
RJP Avatar answered Feb 08 '23 09:02

RJP