Search code examples
c#visual-studio-debuggingpdb-files

.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?


Solution

  • 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.