Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Embedded PDBs not readable by VisualStudio #856

Closed
tom-englert opened this issue Jun 14, 2022 · 3 comments · Fixed by #869
Closed

Embedded PDBs not readable by VisualStudio #856

tom-englert opened this issue Jun 14, 2022 · 3 comments · Fixed by #869

Comments

@tom-englert
Copy link

tom-englert commented Jun 14, 2022

With the latest changes 79b43e8 in PortablePdb.cs assemblies modified with cecil can no longer be debugged in VisualStudio when embedded pdbs are used.

See Fody/Fody#1110 for details how to reproduce.

@ltrzesniewski
Copy link
Contributor

Here's a minimal repro which uses Fody, if it helps: TestProject.zip

@jbevain
Copy link
Owner

jbevain commented Jun 15, 2022

:(

Thanks for the heads-up!

tom-englert added a commit to tom-englert/cecil that referenced this issue Jun 15, 2022
tom-englert added a commit to tom-englert/cecil that referenced this issue Jun 15, 2022
@tom-englert
Copy link
Author

tom-englert commented 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
image

devenv_5EXsg5IJEt
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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants