# pdbfile

Lets you specify the name for a program database (PDB) file created by the linker.

## Syntax

Linux: | None

macOS: | None

Windows: | /pdbfile[:filename]

## Arguments

filename | Is the name for the PDB file. It can include a path. If you do not specify a file extension, the extension .pdb is used.

## Default

OFF | No PDB file is created unless you specify option /Zi. If you specify option /Zi the default filename is executablename.pdb.

## Description

This option lets you specify the name for a program database (PDB) file created by the linker. This option does not affect where the compiler outputs debug information.

To use this option, you must also specify option /debug:full or /Zi.

If filename is not specified, the default file name used is the name of your file with an extension of .pdb.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Output, Debug, and Precompiled Header Options

## See Also

Zi, Z7, ZI compiler option
debug compiler option
Fd compiler option