LibZ
LibZ copied to clipboard
Where is my pdb file??
Hi,
First thanks for this super tool! It saved my lot of time. However, I need to debug a production assembly and for that I need the pdb file. VS generate them but as soon as I call libz.exe --inject-dll, my pdb file disappear.
I saw the scenario 6 but I don't understand how to do to get the pdb file.
Can you please advice?
Thanks!
4 months and even not one answer?
I've switched to using SmartAssembly since LibZ doesn't support WPF and other scenarios. But I'm curious about this too so I'll bump this so maybe the dev will see it.
PDBs stop working when assembly is modified and all "injections" are modifications. The only approach which works is not to modify any assemblies after pdb is created which is described as "Scenario 6" in documentation (reference LibZ from your project and use container file).
I guess it may happen that one day I will learn how to rebuild .pdb file post-injection, but today this is not possible. "Scenario 6" (no "--inject-dll") is your only friend.
SmartAssembly does much more, that's true,, but comparing my open source pet project ($0) to commercially supported product actively developed by dedicated team of people ($1000) is a little bit unfair.