Access Source Code using PDB file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ReyS
    New Member
    • Nov 2009
    • 2

    Access Source Code using PDB file

    Is it possible to see the source code through the program debug database file. I lost the source code file but eventually I just have the exe and the pdb file, I am just wondering is there a possibility to get the source code through the pdb ?

    Thanks,
  • tlhintoq
    Recognized Expert Specialist
    • Mar 2008
    • 3532

    #2
    You lost your own source code? You don't make backups (hourly) of something so vital?
    Or you are trying to reverse engineer (hack) someone else's exe?

    Comment

    • ReyS
      New Member
      • Nov 2009
      • 2

      #3
      No unfortunately I lost the source code, I thought I made the backup but unfortunately there is nothing in that folder and my system got reimaged its my mistake to loose the source code. if this is not possible I have to recreate it my bad.

      Comment

      • Andy Sanders

        #4
        In that case, your best bet will be to either recreate the code, OR to use a decompiler (such as Redgate Reflector) to get back a rough approximation of your original source code.

        Comment

        Working...