How to use a PDB file

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Water Cooler v2

    #1

    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?

  • Jaspreet

    #2
    Re: How to use a PDB file


    Water Cooler v2 wrote:[color=blue]
    > 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?[/color]

    Source code: Lib/pdb.py The module pdb defines an interactive source code debugger for Python programs. It supports setting (conditional) breakpoints and single stepping at the source line level, i...


    Comment

    • Vinay Ahuja

      #3
      RE: How to use a PDB file

      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:
      [color=blue]
      > 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?
      >
      >[/color]

      Comment

      • Lloyd Dupont

        #4
        Re: How to use a PDB file

        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" <wtr_clr@yahoo. com> wrote in message
        news:1141269378 .112455.105120@ v46g2000cwv.goo glegroups.com.. .[color=blue]
        > 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?
        >[/color]


        Comment

        • Carlos J. Quintero [VB MVP]

          #5
          Re: How to use a PDB file

          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.ToStr ing 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:
          MZ-Tools has a single goal: To make your everyday programming life easier. As an add-in to several Integrated Development Environment (IDEs) from Microsoft, MZ-Tools adds new menus and toolbars to them that provide many new productivity features.


          "Water Cooler v2" <wtr_clr@yahoo. com> escribió en el mensaje
          news:1141269378 .112455.105120@ v46g2000cwv.goo glegroups.com.. .[color=blue]
          > 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?
          >[/color]


          Comment

          • Willy Denoyette [MVP]

            #6
            Re: How to use a PDB file


            "Jaspreet" <jsingh.oberoi@ gmail.com> wrote in message
            news:1141272687 .727650.227640@ i40g2000cwc.goo glegroups.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.



            Comment

            Working...