Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

/Fd (Program Database File Name)

/Fdpathname

This option specifies a file name for the program database (PDB) file created by /Zi. Without /Fd, the PDB file name defaults to VCx0.pdb., where x is the major version of Visual C++ in use.

If you specify a path name that does not include a file name (the path ends in backslash), the compiler creates a PDB file named VCx0.pdb. in the specified directory.

If you specify a file name that does not include an extension, the compiler uses .pdb as the extension.

This option also names the state (.idb) file used for minimal rebuild and incremental compilation.

To set this compiler option in the Visual Studio development environment

  1. Open the project's Property Pages dialog box. For details, see Setting Visual C++ Project Properties.
  2. Click the C/C++ folder.
  3. Click the Output Files property page.
  4. Modify the Program Database File Name property.

To set this compiler option programmatically

See ProgramDataBaseFileName Property.

Example

This command line creates a .pdb file named PROG.pdb and an .idb file named PROG.idb:

CL /DDEBUG /Zi /FdPROG.PDB PROG.CPP

See Also

Output-File (/F) Options | Compiler Options | Setting Compiler Options | Specifying the Pathname

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.