Share via


/PDBTYPE   (Program Database Storage)

OverviewHow Do ILinker Options

Syntax

/PDBTYPE:{CON[SOLIDATE]|SEPT[YPES]}

Use this linker option to control in which Program Database (PDB) to store the debug type information.

On the command line, the /PDBTYPE option can take one of the following arguments:

  • Use /PDBTYPE:CON[SOLIDATE] to tell the linker to place the debug type information in a single .PDB file. This option is the default. This option cannot be used if /PDB:NONE is specified.

  • Use /PDBTYPE:SEPT[YPES] to tell the linker to leave the debug type information distributed in the source (compiler) .PDB files. In the Project Settings dialog box, select Separate Types in the Debug category of the Link tab to specify this linker option.

If SEPT[YPES] is specified, linking can be significantly faster. The advantages are:

  • The debugger startup time may be slightly faster.

  • Less hard disk space is needed to store data.

The disadvantage is more files are needed for the debugger to find the debug information when debugging.

Use this option when you plan to debug privately. Do not use this option when the debug build is to be used by multiple users.