Reflexil icon indicating copy to clipboard operation
Reflexil copied to clipboard

Debug Directory PE section is missing after "Save As" to a new dll.

Open JeffreyZhao opened this issue 7 years ago • 3 comments

The original dll has Debug Directory PE section, but after editing and "Save As" it's gone, so we cannot generate pdb files for those dlls. I'm using ILSpy + Reflexil v2.1.

JeffreyZhao avatar May 04 '17 19:05 JeffreyZhao

Indeed,

We are saving the assembly without the "write symbol" option. https://github.com/sailro/Reflexil/blob/master/Utils/AssemblyHelper.cs#L140

sailro avatar May 15 '17 21:05 sailro

Looks like you've a plan on that. Thanks.

JeffreyZhao avatar May 18 '17 03:05 JeffreyZhao

This would indeed be very handy to have... As it stands, any time you modify an assembly with Reflexil, you can no longer debug it with Visual Studio since PDBs don't work. Regardless, your work is much appreciated!

willdieh avatar Jan 07 '19 01:01 willdieh