Visual studio uses the .Pdb characters generated by the compilation process to allow the developer to peer into the source when an exception occurs.
This information exists for two reasons. The first reason is the compiler (i.e., the program that turns the source code into an application, such as a .exe or .dll file) to use when creating the application. The second reason is what people can use when debugging an application. Character information is generated as part of compiling the application (if you installed a compiler to generate symbolic information). This information may be located directly in the application files or may be recorded in separate symbol files. If the characters are found depends on your development application and the settings you choose. For example, Microsoft Visual Basic (VB) builds characters directly into program files. Visual C ++ (VC ++) usually creates one or two separate files.
Character files have two types of files: .dbg and .pdb. The .dbg files are in the common object file format (COFF), which is a description of the description of a common character that does not include information about the source string; many debuggers can read these files. .Pdb files are a Microsoft format and contain much more information than .dbg files. For example, source string information is only available in .pdb characters. Character files that contain source code information allow you to use the source code for debugging.
source share