pdbfile

Specifies that any debug information generated by the compiler should be saved to a program database file.

IDE Equivalent

None

Architectures

IA-32, Intel® 64, IA-64 architectures

Syntax

Linux and Mac OS X:

None

Windows:

/pdbfile[:file]

/nopdbfile

Arguments

file

Is the name of the program database file.

Default

/nopdbfile

Debug information generated by the compiler is not saved to a program database file.

Description

This option specifies that any debug information generated by the compiler should be saved to a program database file. To use this option, you must also specify /debug:full (or the equivalent).

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

The compiler places debug information in the object file if you specify /nopdbfile or omit both /pdbfile and /debug:full (or the equivalent).

Alternate Options

None

See Also