You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the latest changes 79b43e8 in PortablePdb.cs assemblies modified with cecil can no longer be debugged in VisualStudio when embedded pdbs are used.
Activity
ltrzesniewski commentedon Jun 14, 2022
Here's a minimal repro which uses Fody, if it helps: TestProject.zip
jbevain commentedon Jun 15, 2022
:(
Thanks for the heads-up!
Add sample project to reproduce jbevain#856
Revert changes to PortablePdb.cs to fix jbevain#856
tom-englert commentedon Jun 15, 2022
I've created some test project without Fody, so this can be instantly checked within the cecil solution:

https://github.com/tom-englert/cecil/tree/%23856
Just put a breakpoint on the unit test in the Testtee project and try to debug the test => Breakpoint never hits!
I've also reverted the changes to the PdbWriter to verify that this is the root cause:
https://github.com/tom-englert/cecil/tree/%23856_Fix