commandline icon indicating copy to clipboard operation
commandline copied to clipboard

Add pdb files to nuspec

Open imanushin opened this issue 8 years ago • 4 comments

During code analys it is better to have ability to decompile code to understand, what it does. In this case it is better to add pdb files to final nuget package.

Additionally we will have ability to debug this code.

MSVS can debug external code with known PDBs files.

imanushin avatar Mar 19 '17 14:03 imanushin

Can I also suggest that you use pdbgit as well as this would link the pdb symbols to the Github source

phatcher avatar May 10 '17 12:05 phatcher

@phatcher , this is nice tool, however, I'd like to keep pdbs with dll files in the same package, because:

  1. It allow me to see source code without it downloading
  2. I will see detailed callstack in exception on each computer, even it is disconnected from internet.

As I understand, pdbgit just simplify debugging.

Also: what's @gsscoder 's decigion?

imanushin avatar May 13 '17 13:05 imanushin

@imanushin, I don't think this would be an issue for you - if you have the correct version locally and navigate to it then you will resolve to local sources.

All pdbgit does is change the source path embedded in the pdb to point at the github hash version rather than the local path that the published version was compiled on.

phatcher avatar May 13 '17 13:05 phatcher

Nice, thank you! It is interesting.

Will wait until this my current pull request will be pushed. Then will add this extension.

imanushin avatar May 13 '17 13:05 imanushin