PostSharp,PDB调试和引用程序集 [英] PostSharp , PDB Debugging and Referenced Assemblies
问题描述
将PostSharp与带有正确PDB信息的引用程序集一起使用时(通过chkmatch检查),调试信息会因VStudio构建和后期编译过程而丢失,并且在使用chkmatch比较程序集后出现以下错误,这似乎很奇怪
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.
所以它不会步进
Sharp是否正确写回程序集而不破坏PDB位置偏移信息,因为我看不到回写到DLL中的有效偏移信息。由PostSharp使用Hex Editor和此工具的解决方法是什么?
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
Thx Anil Bisnoi
推荐答案
是的,PostSharp会写回PDB文件(具有正确的转换),因此Visual Studio应该没有问题。我不知道有什么问题也许您可以尝试手动加载它们(在VS的模块窗口中),看看会发生什么。
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.
这篇关于PostSharp,PDB调试和引用程序集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!