Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

pdb file not generated in visual studio 2015

I am developing an application using C#-MVC with Entity Framework(database first) VS 2015

I created a separate project for Data Layer Access. When I build this project in either DEBUG or RELASE mode, a debug file is not getting generated i.e. ".pdb" file.

Please let me know, how can I generate this .pdb file for my project?

like image 387
Kishor T Avatar asked Oct 13 '16 14:10

Kishor T


People also ask

How do I generate full PDB files in Visual Studio?

Select the Advanced button (or the Advanced Compile Options button in Visual Basic). In the Debugging information list (or the Generate debug info list in Visual Basic), choose Full, Pdb-only, or Portable. The portable format is the most recent cross-platform format for . NET Core.


1 Answers

(1)Like this document about how to disable the pdb file, please check your project property "Debug Info" option and output path:

enter image description here

(2)Please also check your build configuration manager, all projects use the default Debug or Release option.

(3)If still no help, you'd better to collect the detailed output/compiled information, and make sure that which dll file or pdb generated this issue.

For breakpoint issue, please enable the Microsoft symbols server under TOOLS->Options->Debugging->Symbols.

like image 50
Jack Zhai-MSFT Avatar answered Sep 26 '22 17:09

Jack Zhai-MSFT