What are PDBs? Where must they be located for debugging to work?

Answer Posted / nitesh dwivedi

A Program DataBase file (extension .pdb) is a binary file
that contains type and symbolic debugging information
gathered over the course of compiling and linking the
project. A PDB file is created when you compile a C/C++
program with /ZI or /Zi or a Visual Basic, Visual C#, or
JScript program with the /debug option. The Visual Studio
debugger uses the path to the PDB in the EXE or DLL file to
find the project.pdb file. If the debugger cannot find the
PDB file at that location, or if the path is invalid, for
example, if the project was moved to another computer, the
debugger searches the path containing the EXE followed by
the symbol paths specified in the Options dialog box
(Solution Properties-->Debug Symbol Files node in VS.NET
2003). The debugger will not load a PDB that does not match
the binary being debugged.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What would be salary for 8+ years of experience in ASP.NET in different metro city in india?

1983


What is is post back property in asp net?

533


How to unit test Web API?

702


What are the advantages of using Master Pages?

593


What is difference between viewstate and session state in javascript?

572






Why session is used in asp.net?

527


Differentiate between Server.Transfer and Response.Redirect with functionality? Why we can choose one over the other?

608


What are the properties of the eventargs argument when capturing keyboard events?

536


Explain the asp.net mvc folder conventions? : asp.net mvc

502


Why we use asp.net for website development?

497


Define a static class?

529


What is event in asp.net?

530


how can create login from create and written conde in asp.net

1774


What is a runtime version?

525


What is the use of HttpHandlers? When to use this?

623