visual studio - PDB files do not include all .net source information -


this may come down misunderstanding of pdb files , build process, rather particular problem i've struggled find answer elsewhere.

we have been little developers , started indexing , storing our pdb files on central symbol server (all part of tfs). problem our pdb files not appear include source information.

when trying navigate sources in visual studio, pdb files of our assemblies found, shown output window:

pdbnavigator: downloader: file://server/symbols/my.assembly.pdb/1db3f79ea3094eaaadfc6cde6515fc871/my.assembly.pdb -> ok, 251 kb pdbnavigator: no debugging information found on symbol servers my.assembly, version=1.0.1.1206, culture=neutral, publickeytoken=4cd79aeab39b919b 

but @ same time says found no sources. if use of tools windows sdk can see pdb file not contain information on 30% of source files in project.

i think read somewhere pdb files include source classes used within project, surely creates massive problem api type assemblies multiple classes may have no function within assembly, when used other part of project?

if can shed light on this, please let me know.

thanks.

a pdb (normally) doesn't store source code - contains list of "documents", source code file names, , "method information", maps source lines offsets in assembly or binary. pdb matches when signature , build date of assembly matches same in pdb file. chances are, myassembly.pdb has correct version, signature and/or build date don't match.

the signature not exposed far know, may find code on internet says how read pe signature , pdb signature can comparison.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -