Skip to content

Commit e707e2f

Browse files
authored
Merge pull request MicrosoftDocs#2443 from corob-msft/cr-nopdb
Add DUMPBIN /NOPDB option article
2 parents 61a1f88 + bb1937a commit e707e2f

File tree

3 files changed

+60
-15
lines changed

3 files changed

+60
-15
lines changed
Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
---
2-
title: "DUMPBIN Options"
3-
ms.date: "11/04/2016"
2+
title: "DUMPBIN options"
3+
ms.date: "10/24/2019"
44
f1_keywords: ["dumpbin"]
55
helpviewer_keywords: ["DUMPBIN program, options"]
66
ms.assetid: 563b696e-7599-4480-94b9-014776289ec8
77
---
8-
# DUMPBIN Options
8+
# DUMPBIN options
99

10-
An option consists of an option specifier, which is either a dash ( - ) or a forward slash (/), followed by the name of the option. Option names cannot be abbreviated. Some options take arguments, specified after a colon (:). No spaces or tabs are allowed within an option specification. Use one or more spaces or tabs to separate option specifications on the command line. Option names and their keyword or file name arguments are not case sensitive. Most options apply to all binary files; a few apply only to certain types of files. By default, DUMPBIN sends information to standard output. Use the [/OUT](out-dumpbin.md) option to send output to a file.
10+
An option consists of an *option specifier*, which is either a dash (`-`) or a forward slash (`/`), followed by the name of the option. Option names can't be abbreviated. Some options take arguments, specified after a colon (`:`). No spaces or tabs are allowed within an option specification. Use one or more spaces or tabs to separate option specifications on the command line. Option names and their keyword or file name arguments aren't case-sensitive. Most options apply to all binary files, but a few apply only to certain types of files. By default, DUMPBIN sends information to standard output. Use the [/OUT](out-dumpbin.md) option to send output to a file.
11+
12+
## Options list
1113

1214
DUMPBIN has the following options:
1315

@@ -21,45 +23,50 @@ DUMPBIN has the following options:
2123

2224
- [/DIRECTIVES](directives.md)
2325

24-
- [/DISASM](disasm.md)
26+
- [/DISASM\[:{BYTES\|NOBYTES}\]](disasm.md)
2527

26-
- [/ERRORREPORT (dumpbin.exe)](errorreport-dumpbin-exe.md)
28+
- [/ERRORREPORT:{NONE|PROMPT|QUEUE|SEND}](errorreport-dumpbin-exe.md)
2729

2830
- [/EXPORTS](dash-exports.md)
2931

3032
- [/FPO](fpo.md)
3133

3234
- [/HEADERS](headers.md)
3335

34-
- [/IMPORTS](imports-dumpbin.md)
36+
- [/IMPORTS\[:filename\]](imports-dumpbin.md)
3537

3638
- [/LINENUMBERS](linenumbers.md)
3739

38-
- [/LINKERMEMBER](linkermember.md)
40+
- [/LINKERMEMBER\[:{1|2}\]](linkermember.md)
3941

4042
- [/LOADCONFIG](loadconfig.md)
4143

42-
- [/OUT](out-dumpbin.md)
44+
- [/NOPDB](nopdb.md)
45+
46+
- [/OUT:filename](out-dumpbin.md)
4347

4448
- [/PDATA](pdata.md)
4549

46-
- [/PDBPATH](pdbpath.md)
50+
- [/PDBPATH\[:VERBOSE\]](pdbpath.md)
4751

48-
- [/RANGE](range.md)
52+
- [/RANGEE:vaMin\[,vaMax\]](range.md)
4953

50-
- [/RAWDATA](rawdata.md)
54+
- [/RAWDATA\[:{NONE\|1\|2\|4\|8}\[,#\]\]](rawdata.md)
5155

5256
- [/RELOCATIONS](relocations.md)
5357

54-
- [/SECTION](section-dumpbin.md)
58+
- [/SECTION:name](section-dumpbin.md)
5559

5660
- [/SUMMARY](summary.md)
5761

5862
- [/SYMBOLS](symbols.md)
5963

6064
- [/TLS](tls.md)
6165

66+
To list the options supported by DUMPBIN on the command line, use the **/?** option.
67+
6268
## See also
6369

64-
[Additional MSVC Build Tools](c-cpp-build-tools.md)<br/>
65-
[DUMPBIN Reference](dumpbin-reference.md)
70+
[Additional MSVC build tools](c-cpp-build-tools.md)\
71+
[DUMPBIN command line](dumpbin-command-line.md)\
72+
[DUMPBIN reference](dumpbin-reference.md)

docs/build/reference/nopdb.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
title: "/NOPDB"
3+
description: "The /NOPDB option keeps DUMPBIN from loading and searching PDB files for symbol information."
4+
ms.date: "10/29/2019"
5+
f1_keywords: ["/NOPDB"]
6+
helpviewer_keywords: ["/NOPDB dumpbin option", "/NOPDB"]
7+
---
8+
# /NOPDB
9+
10+
Tells DUMPBIN not to load and search program database (PDB) files for symbol information.
11+
12+
## Syntax
13+
14+
> **/NOPDB**
15+
16+
## Remarks
17+
18+
By default, DUMPBIN attempts to load PDB files for its target object files, libraries, or executables. DUMPBIN uses this information to match addresses to symbol names. The process can be time-consuming if the PDB files are large, or must be loaded from a remote server. The **/NOPDB** option tells DUMPBIN to skip this step. It only prints the addresses and symbol information available in the object file, library, or executable.
19+
20+
### To set the /NOPDB linker option in Visual Studio
21+
22+
1. Open the **Property Pages** dialog box for the project. For more information, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).
23+
24+
1. Select the **Configuration Properties** > **Linker** > **Command Line** property page.
25+
26+
1. In the **Additional options** box, add the **/NOPDB** option. Choose **OK** or **Apply** to save your changes.
27+
28+
### To set this linker option programmatically
29+
30+
- This option doesn't have a programmatic equivalent.
31+
32+
## See also
33+
34+
[DUMPBIN command line](dumpbin-command-line.md)\
35+
[DUMPBIN options](dumpbin-options.md)\
36+
[DUMPBIN reference](dumpbin-reference.md)

docs/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1410,6 +1410,8 @@
14101410
href: build/reference/linkermember.md
14111411
- name: /LOADCONFIG
14121412
href: build/reference/loadconfig.md
1413+
- name: /NOPDB
1414+
href: build/reference/nopdb.md
14131415
- name: /OUT (DUMPBIN)
14141416
href: build/reference/out-dumpbin.md
14151417
- name: /PDATA

0 commit comments

Comments
 (0)