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

how to write html code with ssl

1620


Am not able to move the controls on the form freely in asp.net 3.5 even though I selected the position as relative or absolute for those controls. What should I do to overcome this?

2041


Explain asp.net application life cycle?

636


Define tracing.

722


Define common type system?

661






Explain the server control events of asp.net ?

631


Why session is necessary in web application?

614


What is clickid?

652


Which object is used to encapsulate the state of the client and the browser in ASP.NET?

684


What is runat?

699


Describe session handling in a webfarm, how does it work and what are the limits?

674


What are the advantages of Web API?

724


What is the advantage of mvc over asp.net? : Asp.Net MVC

590


What is the difference between the response.write() and response.output.write() methods?

612


Which is better viewstate or session?

604