PostSharp , PDB Debugging and Referenced Assemblies

倾然丶 夕夏残阳落幕 提交于 2020-01-06 04:20:27

问题


When using PostSharp with a Referenced Assembly with proper PDB info( checked with chkmatch), it seems strange that the debug info gets lost by VStudio build and post compile process and I get the following error by using chkmatch to compare the assembly after the vstudio build.

Error: Debug information not found in the executable.

So it doesn't step into for debugging into this assembly.

Does Post Sharp properly writes back the Assemblies without destroying the PDB location offset info as I saw no valid offset info in the written back into DLL by PostSharp using Hex Editor and What's the workaround for this ?

Thx Anil Bisnoi


回答1:


Yes, PostSharp writes back PDB files (with proper transformations), so there should be no problem with Visual Studio. I don't know what could be wrong; maybe you could try to load them manually (in the Module window of VS) and see what happens.



来源:https://stackoverflow.com/questions/2006508/postsharp-pdb-debugging-and-referenced-assemblies

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!