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
0
votes
4 answers

show definition (browse) in *.pdb of *.dll file

I have built a Library project (DLL) in .NET. And sometimes I use the DLL along with its PDB file as a reference in some other projects. Now in the new project, I cant browse through the code of the DLL to debug. I can only see the definitions of…
ala
  • 7,070
  • 13
  • 47
  • 54
0
votes
1 answer

Cannot create shaders OpenGL 4.x

I am using this tutorial. I have the correct hardware to run this (AMD 6870). I have followed the tutorial but I only get a flashing of the window before it exits. When I build the code, it builds fine, but lists a load of DLLs that cannot find a…
0
votes
3 answers

VS 2010 Debugging

Is the .pdb file enough to debug and step into the code of a dll? Or do you actually have to reference the corresponding project source code? I tried referencing a dll with the .pdb file in the same directory, and was unable to step into the code of…
0
votes
1 answer

No filenames in pdb program database

I have a .pdb program database from a C++ application compiled in debug on Windows VS2005. I use the DIA SDK to find function names but I can't seem to retrieve the filenames for the symbols. Is there some switch I need to turn on? Does this work?!
Nick
  • 27,566
  • 12
  • 60
  • 72
-1
votes
1 answer

Obtain information about bonded neighbors to all atoms in a molecule in python

I am coding in python a script and I need to obtain from a PDB file information about what atoms are bonded with each other in an automatized way. For example, if we had ethane obtain a dictionary as…
Ignasi
  • 11
  • 1
-1
votes
1 answer

How can I debug external code in Visual Studio 2019 when there is no PDB available?

I am trying to debug some issues occurring within an external library (ClosedXML). If I can work out exactly what's going wrong, I should be able to apply workarounds to the code that calls it. I have added ClosedXML and manage it via…
-1
votes
1 answer

Running a C script in Pycharm

Hei, I am trying to use an already existing code to convert a protein PDB file into a GIT vector. I am trying to run it, but it doesn't seem to work. I believe I am just doing it wrong. What I am trying to do is to get the script running so that it…
Jennan
  • 89
  • 11
-1
votes
1 answer

Could not copy the file pdb because it was not found

I changed the Output path for some projects of my Solution and now I´m getting some errors when I Build my solution. Errors like: Could not copy the file "MyProject....pdb" because it was not found... How could I fix it?
Ernesto Rodriguez
  • 257
  • 2
  • 9
  • 26
-1
votes
1 answer

Why isn't pdb for ntdll.dll cached

I'm developing C++ under Visual Studio Community 2013. It is C++/Win32 project not UWP and it is run as Debug/x64 platform. My config is: Tools -> Options -> Debugging -> Symbols -> All module, unless excluded Tools -> Options -> Debugging ->…
Wakan Tanka
  • 7,542
  • 16
  • 69
  • 122
-1
votes
1 answer

opencv_world300d.dll'. Cannot find or open the PDB file

I am trying to build A project in Visual studio 2013 which uses some additional libraries, OpenCV and other files. When I build project, it was successful but I run the created executable it halted giving some error code. So I used Windows debugger…
user3751794
-1
votes
1 answer

Debugging a debug C++ COM dll with pdb but without source code

I am receiving crash while i run the application in (say Connection.dll) Prior to crash the following assertion comes in C:\Program Files\Microsoft Visual Studio 11.0\VC\atlmfc\include\atlcom.h on line no: 4735(see…
-1
votes
2 answers

PERL Script for discerning between cavity and void space in PDB(Protein Database) file

The problem with the following code is only in one function of the code. The problem function is with a comment head and close. This is my first post to StackOverflow so bear with me. The following script has some modules and other functions that I…
-1
votes
1 answer

Code for splitting pdb files into chains

This is the code that's giving me problems. The error is showing up as a syntactical one, but I can't figure out where or what it is? It says the error is in the 'while open (FILE , $array[$i])' statement , but I can't see what's wrong . #!…
user2474041
  • 11
  • 1
  • 5
-3
votes
2 answers

How can creating dbf file, and define encoding in Notepad, or VBA

what is DBF4 (dBase IV)(*.dbf) file fundamental format? And how can create these file in a same word editor as Notepad with typing?(Update:, or excel VBA?) What is that's format specifications as: Delimiter (Same as: , or tab or etc) Separator (may…
mgae2m
  • 1,134
  • 1
  • 14
  • 41
-5
votes
1 answer

Pdb files, what does their lines mean?

I read a Pdb has the source file names and their lines? What does "their lines" mean?
JD.
  • 15,171
  • 21
  • 86
  • 159
1 2 3
42
43