ProgramThe database (PDB) File Stores debugging and project status information, which can be used to incrementally link the debugging configuration of the program. In use/DebugA PDB file (Visual Basic/C #/J #/JScript) is created ). You can use/Debug: fullOr/Debug: pdbonlyGenerate Visual Basic, C #, and J # applications. Use/Debug: fullGeneration will generate debuggableCode. Use/Debug: pdbonlyGeneration generates PDB, but does not notify JIT compiler that debugging information is available.Debuggableattribute. Use/Debug: pdbonly.
The Visual Studio debugger uses the PDB path in the EXE or DLL file to find the project. PDB file. If the debugger cannot find the PDB file at this location, or the path is invalid (for example, if the project is moved to another computer), the debugger searches for the path containing the exe, this EXE is followed by the symbolic path specified in the "options" dialog box. This path is usually the "debug" folder in the "symbol" node. The debugger does not load PDB that does not match the debugged binary.