473,326 Members | 2,148 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

How to use a PDB file

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?

Mar 2 '06 #1
5 2735

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

Mar 2 '06 #2
This is an interesting question. I found this entry on Mike Stall's blog,
which sort of explains what can be done using the pdb file.
http://blogs.msdn.com/jmstall/archiv...5/pdb2xml.aspx

Hope this helps.
"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?

Mar 2 '06 #3
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>
"Water Cooler v2" <wt*****@yahoo.com> wrote in message
news:11**********************@v46g2000cwv.googlegr oups.com...
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?

Mar 2 '06 #4
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

"Water Cooler v2" <wt*****@yahoo.com> escribió en el mensaje
news:11**********************@v46g2000cwv.googlegr oups.com...
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?

Mar 2 '06 #5

"Jaspreet" <js***********@gmail.com> wrote in message
news:11**********************@i40g2000cwc.googlegr oups.com...
|
| 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.

Mar 2 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: matt | last post by:
I have compiled some code, some written by me, some compiled from various sources online, and basically i've got a very simple flat file photo gallery. An upload form, to upload the photos and give...
5
by: Dave Smithz | last post by:
Hi There, I have a PHP script that sends an email with attachment and works great when provided the path to the file to send. However this file needs to be on the same server as the script. ...
7
by: Joseph | last post by:
Hi, I'm having bit of questions on recursive pointer. I have following code that supports upto 8K files but when i do a file like 12K i get a segment fault. I Know it is in this line of code. ...
3
by: StGo | last post by:
How can i read/write file's custom attributs(like subject,author...) in C#??? Thanks :))
0
by: Lokkju | last post by:
I am pretty much lost here - I am trying to create a managed c++ wrapper for this dll, so that I can use it from c#/vb.net, however, it does not conform to any standard style of coding I have seen....
13
by: Sky Sigal | last post by:
I have created an IHttpHandler that waits for uploads as attachments for a webmail interface, and saves it to a directory that is defined in config.xml. My question is the following: assuming...
1
by: Roy | last post by:
Hi, I have a problem that I have been working with for a while. I need to be able from server side (asp.net) to detect that the file i'm streaming down to the client is saved...
3
by: Shapper | last post by:
Hello, I created a script to upload a file. To determine the file type I am using userPostedFile.ContentType. For example, for a png image I get "image/png". My questions are: 1. Where can...
0
by: troutbum | last post by:
I am experiencing problems when one user has a document open through a share pointing to the web site. I use the dsolefile to read the contents of a particular directory and then display them in a...
0
by: thjwong | last post by:
I'm using WinXP with Microsoft Visual C++ .NET 69462-006-3405781-18776, Microsoft Development Environment 2003 Version 7.1.3088, Microsoft .NET Framework 1.1 Version 1.1.4322 SP1 Most developers...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.