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

Do dlls always get loaded in the same way into a process?

I am trying to build a mini-profiler. It records function calls for a given set of tests and is supposed to later tell which functions from a given module were run. I record a bunch of virtual addresses which I can convert to pairs of [module name,…
Sergey L.
  • 21,822
  • 5
  • 49
  • 75
0
votes
1 answer

how to clear PDB string in a release VC++ build

I have an EXE built from Visual Studio and I'd like to clear or just remove the path portion of the PDB filename. I'm looking for a tool to make this adjustment in the PE's debug directory, without using a hex editor. Many have suggested BinPlace,…
byteptr
  • 1,275
  • 11
  • 15
0
votes
0 answers

.NET webservice pdb deployed still no line numbers

If anyone can help this one I would appreciate it, I have searched and built for a while. website project build using CCNET Built using msbuild and config DebugType=pdbonly Merge all files into single assembly using aspnet_merge and -a -debug pdb…
cjburkha
  • 111
  • 3
0
votes
1 answer

Stepping into .Net framework4.6 source VS 2013

I am trying to step into the .Net source code. I have followed the instruction here, the "Microsoft symbol server" is unchecked and I have specified the symbol cache directory. In the module window, the symbol status are "symbols loaded". For…
Genjutsu
  • 223
  • 2
  • 12
0
votes
1 answer

How to prevent anyone sees method statements code when pressing F12?

I define a method in a class and call it in another class. It works fine. But, if I select the method and press F12, Visual Studio will find the method and show me the statements code automatically. I have tried it with the method:…
user4090029
0
votes
1 answer

Loading pdb for msctf.dll from symbol server doesn't work

I have a C project in VS 2013 which I would like to debug. I configured VS already that it loads the symbols for system DLLs automatically. That does work, execept for the msctf.dll: 'Programm_NT.exe' (Win32): Loaded…
0
votes
1 answer

How to convert pdb file to xml using mdbg?

How to convert PDB file to XML file? I tried the source from below, but it's taking exe as an input. Is there any opensource converter available?
Jaffer Sathick
  • 466
  • 1
  • 10
  • 21
0
votes
0 answers

Visual Studio Profiler - how to see function body

So, I'm profiling my application, and I'm getting 30% exclusive samples on System.Windows.Forms.Application.Run, of which almost the entirety is on "Function Body". However, I can't see what is exactly happening there, as Visual Studio tells me…
user3742604
  • 97
  • 1
  • 1
  • 8
0
votes
1 answer

pdb file ( visual studio )

I want to send a debug executable to a client so I could replicate the crash by loading the pdb file. For this purpose, I created a debug build. Should I send both the executable and pdb to the client . Please advise
user476566
  • 1,319
  • 3
  • 26
  • 42
0
votes
1 answer

Downloading PDB file for machine not connected to the internet

For deubgging some process I will need to download the PDB files for some operating system dll files (OLE32, NTDLL, etc.) That server is not connected to the internet. I know the following method to get the PDB. Get full dump of the process Copy…
Saar
  • 1,753
  • 6
  • 20
  • 32
0
votes
1 answer

Biopython PDB extract coordinate(x,y,z) and b value data if b value>10 && <50

from Bio import PDB pdb1 = PDB.PDBList() pdb1.retrieve_pdb_file("1CRK") #downloads the .pdb file from the internet parser = PDB.PDBParser(PERMISSIVE=1) structure =…
0
votes
1 answer

Errors using OpenCV 2.4.10 on Visual Studio 2013

Information: Windows 8.1 64-bit Visual Studio 2013 OpenCV 2.4.10 I need OpenCV to do some image processing for my college group, but I can't even being learning how to use OpenCV's functions because I can't seem to get it to work with Visual…
Wyndrix
  • 133
  • 2
  • 10
0
votes
2 answers

What is the use of removing pdb files?

I read somewhere that removing .pdb file cause increase in performance of the program. What are the cons and pros of removing these files?
Mohamad Shiralizadeh
  • 8,329
  • 6
  • 58
  • 93
0
votes
0 answers

How to Map ILOFFSET to generated xml using PDB2XML

How can we map ILOFFSET to generated xml using PDB2XML . I'm logging ILOFFSET from code . but I'm not able map it to xml file generated. Here is my xml file generated. Here is the sample code
Ram
  • 33
  • 2
  • 7
0
votes
1 answer

Can I correctly debug assemblies loaded with the 'AssemblyResolve' event?

I'm experimenting with the AppDomain's 'AssemblyResolve' event by hidding the depedencies for an executable file in another folder. The assemblies seem to beloading and executing fine, however debugging seems to be crazy, sometimes it hits my break…
Thiago Padilha
  • 4,590
  • 5
  • 44
  • 69