开发者

How to provide .net with the pdb data after an assembly has been loaded?

开发者 https://www.devze.com 2023-03-12 04:36 出处:网络
Usin开发者_运维问答g this method Assembly.Load(Byte(), Byte()) http://msdn.microsoft.com/en-us/library/twt16z2x.aspx

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..

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号