Skip to content

Repo sync for protected branch #4983

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Mar 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 12 additions & 17 deletions docs/build/reference/pdbpath.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,38 @@
description: "Learn more about: /PDBPATH"
title: "/PDBPATH"
ms.date: "11/04/2016"
f1_keywords: ["/pdbpath"]
f1_keywords: ["/PDBPATH"]
helpviewer_keywords: [".pdb files, path", "-PDBPATH dumpbin option", "/PDBPATH dumpbin option", "PDBPATH dumpbin option", "PDB files, path"]
ms.assetid: ccf67dcd-0b23-4250-ad47-06c48acbe82b
---
# /PDBPATH
# `/PDBPATH`

```
/PDBPATH[:VERBOSE] filename
```

### Parameters

*filename*<br/>
The name of the .dll or .exe file for which you want to find the matching .pdb file.
*filename*\
The name of the .dll or `.exe` file for which you want to find the matching `.pdb` file.

**:VERBOSE**<br/>
(Optional) Reports all directories where an attempt was made to locate the .pdb file.
**`:VERBOSE`**\
(Optional) Reports all directories where an attempt was made to locate the `.pdb` file.

## Remarks

/PDBPATH will search your computer along the same paths that the debugger would search for a .pdb file and will report which, if any, .pdb files correspond to the file specified in *filename*.
`/PDBPATH` searches your computer along the same paths that the debugger searches for a `.pdb` file and reports which, if any, `.pdb` files correspond to the file specified in *filename*.

When using the Visual Studio debugger, you may experience a problem due to the fact that the debugger is using a .pdb file for a different version of the file you are debugging.
When using the Visual Studio debugger, you may experience a problem because the debugger is using a `.pdb` file for a different version of the file you're debugging.

/PDBPATH will search for .pdb files along the following paths:
`/PDBPATH` will search for `.pdb` files along the following paths:

- Check the location where the executable resides.

- Check the location of the PDB written into the executable. This is usually the location at the time the image was linked.

- Check along the search path configured in the Visual Studio IDE.

- Check along the paths in the _NT_SYMBOL_PATH and _NT_ALT_SYMBOL_PATH environment variables.

- Check along the paths in the `_NT_SYMBOL_PATH` and `_NT_ALT_SYMBOL_PATH` environment variables.
- Check in the Windows directory.

## See also

[DUMPBIN Options](dumpbin-options.md)<br/>
[/PDBALTPATH (Use Alternate PDB Path)](pdbaltpath-use-alternate-pdb-path.md)
[`DUMPBIN` Options](dumpbin-options.md)\
[`/PDBALTPATH` (Use Alternate PDB Path)](pdbaltpath-use-alternate-pdb-path.md)