Skip to content

Commit 9d20635

Browse files
author
Colin Robertson
committed
Add DUMPBIN /NOPDB option article
1 parent 408f2ca commit 9d20635

3 files changed

Lines changed: 53 additions & 12 deletions

File tree

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
title: "DUMPBIN Options"
3-
ms.date: "11/04/2016"
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
---
88
# 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 are not 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.
1111

1212
DUMPBIN has the following options:
1313

@@ -21,45 +21,49 @@ DUMPBIN has the following options:
2121

2222
- [/DIRECTIVES](directives.md)
2323

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

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

2828
- [/EXPORTS](dash-exports.md)
2929

3030
- [/FPO](fpo.md)
3131

3232
- [/HEADERS](headers.md)
3333

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

3636
- [/LINENUMBERS](linenumbers.md)
3737

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

4040
- [/LOADCONFIG](loadconfig.md)
4141

42-
- [/OUT](out-dumpbin.md)
42+
- [/NOPDB](nopdb.md)
43+
44+
- [/OUT:filename](out-dumpbin.md)
4345

4446
- [/PDATA](pdata.md)
4547

46-
- [/PDBPATH](pdbpath.md)
48+
- [/PDBPATH\[:VERBOSE\]](pdbpath.md)
4749

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

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

5254
- [/RELOCATIONS](relocations.md)
5355

54-
- [/SECTION](section-dumpbin.md)
56+
- [/SECTION:name](section-dumpbin.md)
5557

5658
- [/SUMMARY](summary.md)
5759

5860
- [/SYMBOLS](symbols.md)
5961

6062
- [/TLS](tls.md)
6163

64+
For a list of the options supported by DUMPBIN on the command line, use the **/?** option.
65+
6266
## See also
6367

64-
[Additional MSVC Build Tools](c-cpp-build-tools.md)<br/>
68+
[Additional MSVC Build Tools](c-cpp-build-tools.md)\
6569
[DUMPBIN Reference](dumpbin-reference.md)

‎docs/build/reference/nopdb.md‎

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
title: "/NOPDB"
3+
ms.date: "10/24/2019"
4+
f1_keywords: ["/sourcelink"]
5+
helpviewer_keywords: ["/NOPDB dumpbin option", "/NOPDB"]
6+
---
7+
# /NOPDB option
8+
9+
Tells DUMPBIN not to load and search debug information (PDB) files for symbol information.
10+
11+
## Syntax
12+
13+
> **/NOPDB**
14+
15+
## Remarks
16+
17+
By default, DUMPBIN attempts to load debug information from PDB files to provide friendly names for symbols. This can be time-consuming if the information must be loaded from a remote server. The /NOPDB option skips this step, and causes DUMPBIN to only output the symbol information in the object file, library, executable, or DLL.
18+
19+
### To set the /NOPDB linker option in Visual Studio
20+
21+
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).
22+
23+
1. Select the **Configuration Properties** > **Linker** > **Command Line** property page.
24+
25+
1. In the **Additional options** box, add **/NOPDB** and then choose **OK** or **Apply** to save your changes.
26+
27+
### To set this linker option programmatically
28+
29+
- This option does not have a programmatic equivalent.
30+
31+
## See also
32+
33+
[DUMPBIN command line](dumpbin-command-line.md)\
34+
[DUMPBIN options](dumpbin-options.md)\
35+
[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)