How to use a PDB file

  • Thread starter Water Cooler v2
  • Start date
W

Water Cooler v2

How does one use a .pdb file that contains debug symbols for a project.
It contains binary data. How do I use it to diagnose the application?
 
L

Lloyd Dupont

Usually you use a debugger which know what to do with it.
BTW there is a free debugger in the SDK.


--
Regards,
Lloyd Dupont

NovaMind development team
NovaMind Software
Mind Mapping Software
<www.nova-mind.com>
 
C

Carlos J. Quintero [VB MVP]

Hi,

The .pdb file is used by the debugger and normally is only generated when
using the "Debug" configuration.

For example, when you use Exception.ToString and the .pdb file is available,
you get info about the file name and line number that caused the exception.
Using the Release configuration, where the .pdb file is missing, you lose
that information and you get only the method name.

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com
 
W

Willy Denoyette [MVP]

|
| Water Cooler v2 wrote:
| > How does one use a .pdb file that contains debug symbols for a project.
| > It contains binary data. How do I use it to diagnose the application?
|
| http://docs.python.org/lib/module-pdb.html
|

I'm affraid this has nothing to do with C# and the PDB files generated by
the C# compiler.
PDB files generated by C# (and most other MSFT compilers) are binary files
that are used by debuggers when attached to a process, to read symbolic info
related to the executing process.

Willy.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top