-
-
Notifications
You must be signed in to change notification settings - Fork 626
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to load debug symbols at runtime without any files #710
Comments
Hey! That's a great question. I'm not really sure to be honest. Maybe when writing to a symbol stream instead of a file Cecil doesn't write the expected information in the debug header (after all, there's no path to write), and then the loader is confused. |
Maybe try to hardcode a file name in there: https://github.com/jbevain/cecil/blob/master/Mono.Cecil.Cil/PortablePdb.cs#L304 Instead of And see if then the symbols are loaded? |
@Serg046 Did you find something that worked in the end? |
I postponed the task where I need this behaviour that's why I didn't answer anything that time. But actually your idea works fine, thank you! What do you think about this #735? |
This is issue is related to #734 has well. Cecil needs to do a better job at handling filenames for non |
This is what I am trying to do:
It works fine when I generate a file but It doesn't when I try to load it in memory.
It fails with the following message:
Module was built without symbols
;What is the right way to do it?
The text was updated successfully, but these errors were encountered: