Questions tagged [pdb-files]

This PDB is Microsoft's "Program Database" format for debugging symbols, stored in files with a `.pdb` extension.

These are a kind of debugging symbols; you need them to get decent stack traces of MSVC-compiled native programs on Windows, but on .NET they are only really needed for source locations, so that the debugger can find the lines of source code that correspond with each part of the compiled code.

See also the program database article on Wikipedia.

If you want to use information from PDB files in a program, you could use either DbgHelp, a C-level API, or DIA, a COM API w/ .NET bindings.

This tag was split from , which is supposed to be empty now, but might have new questions where the asker didn't know what PDB was relevant (so it would be good to move them here when this is the one).

See also:

646 questions
5
votes
1 answer

Is Generating Debug Info (pdb) making my application slower in runtime?

In .NET applications is generating debug info (pdb) making my application slower in runtime? or do they only comes into the play when the application crashes?
dr. evil
  • 26,944
  • 33
  • 131
  • 201
5
votes
1 answer

Getting run time error in Visual studio 2013- No Symbol loaded error

I have tried multiple way to resolve this issue, but not able to resolve this issue please help me to resolve this.
Sajith
  • 856
  • 4
  • 19
  • 48
5
votes
4 answers

Can optimizations affect the ability to debug a VC++ app using its PDB?

In order to be able to properly debug release builds a PDB file is needed. Can the PDB file become less usable when the compiler uses different kinds of optimizations (FPO, PGO, intrinsic functions, inlining etc.)? If so, is the effect of…
Eran
  • 21,632
  • 6
  • 56
  • 89
5
votes
2 answers

ILMerge - pdb associated with dll is out of date

Trying to build executable with all libraries inside with help of ILMerge: "C:\Program Files (x86)\Microsoft\ILMerge\ILMerge.exe" MyScan.exe DirectShowLib.dll Google.Apis.Auth.dll Google.Apis.Auth.PlatformServices.dll Google.Apis.Core.dll…
vico
  • 17,051
  • 45
  • 159
  • 315
5
votes
0 answers

Visual Studio debugging: cannot find pdb, A matching symbol file was not found in this folder

I've combed through a matching symbol file was not found in this folder and A matching symbol file was not found (Cannot find/open pdb file) but I can't get anything to work. I'm trying to debug a project that I inherited from another company. My…
Erica Stockwell-Alpert
  • 4,624
  • 10
  • 63
  • 130
5
votes
1 answer

"Source information is missing from the debug information for this module" when debugging asp.net mvc application

I am having hard days of debugging ASP.NET MVC code.I ended up doing as described in this website.Debug symbols are loaded and working for all dlls but System.Web.MVC. when i double click on any line in stacktrace window it show me the message…
Behnam Esmaili
  • 5,835
  • 6
  • 32
  • 63
5
votes
2 answers

How safe is it to have a pdb released with the exe's?

If I'm reading correctly, (https://github.com/Microsoft/microsoft-pdb), pdb's contain debug information. If you were to release one to the customer alongside the exe, would it impose a risk that customers or end-users being able to find out the…
5
votes
1 answer

VS2017 - Payload contains two or more files with the same destination path

I have a Xamarin project (UWP and iOS) building and running well in VS2015. The project contains some Universal Windows and iOS projects, and many PCL used by both platforms (for the view models, the services and the database access). One by one,…
5
votes
0 answers

a matching symbol was not found in this folder

first of all, this is a repetitive question. but things are not same in my case. I have tried most of the solutions. but nothing changed. so, here is the problem, I have standalone sdk for a fingerprint device and working with visual studio 2015…
Onick Ahmed
  • 91
  • 1
  • 15
5
votes
0 answers

Loading symbols for hotpatched code from .pdb or .obj

I'm currently working on a tool that allows me to change C++-code on the fly. Changed files are compiled in the background, loaded from the .obj, relocated & linked, and patched into the running process. This works fine so far. However, I have been…
5
votes
1 answer

How to automatically include PDB files when publishing?

When publishing a ClickOnce application, I would like all PDB files to be included (for logging purposes). I can do this manually by checking them in the Application Files dialog box, but then I would have to remember doing this every time a new…
Stijn
  • 1,970
  • 3
  • 27
  • 36
5
votes
1 answer

Is it safe to manually generate .appxsym and .appxupload for Windows Store Apps crash analysis?

We have an app with a manual packaging process (MakeAppx.exe). We would like to publish this app to the Store including the public symbols files, so that I can download the .cab process dump file for crash analysis (such as described here). I…
divieira
  • 885
  • 9
  • 17
5
votes
1 answer

Resharper does not navigate to external sources despite pdb files present

My solution uses classes from .dlls generated by my other solutions .dll where generated in debug mode on the same machine, pdb files are present steeping into those external sources during debugging works, so I am assuming pdb files are…
Kranach
  • 740
  • 2
  • 9
  • 24
5
votes
1 answer

Get a function signature from PDB using WinDBG

Trying to find the invocation method of an EventHandler instance, I had to !do it, and then try to find which method _methodPtr was referring to. _methodPtr was in my case 32c0e0 I figured it out using dd 32c0e0 (which contains the method…
Olivier
  • 5,578
  • 2
  • 31
  • 46
5
votes
3 answers

C# - Set path to pdb

Is there any way to set a custom path to Program Database files (*.pdb) in C# under Visual Studio 2008? With C++ this was quite simple (Project settings -> Linker -> Debugging -> Generate Program Database File), but for some reason Microsoft seems…
J23
  • 3,061
  • 6
  • 41
  • 52