How to provide .net with the pdb data after an assembly has been loaded?
Usin开发者_运维问答g this method Assembly.Load(Byte(), Byte()) http://msdn.microsoft.com/en-us/library/twt16z2x.aspx It is possible to provide a byte representation of the pdb file.
Given that an assembly has already been loaded is it possible to provide pdb data after the fact.
Edit: I am talking programmatically. ie not with the debugger
It is not possible in managed code. And I have no idea how to do it in unmanaged!
you can try going into debug > windows > modules in vs when you're attatched to the process. there you'd locate your assembly, right click on it and select load symbols (or something to that effect).
i have tried that will byte[]-loaded assemblies though..
精彩评论