本文介绍了在Visual Studio中调试第三方DLL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用第三方DLL。对于某些特定情况,DLL中的一个函数会抛出异常。是否可以在Visual Studio中调试DLL?语言,您可以使用,然后针对源代码进行调试。
或者您可以询问供应商是否有源代码可用。这可能是最简单的方法。
I am using a third-party DLL. For some particular cases, a function in the DLL is throwing an exception. Is it possible to debug the DLL in the Visual Studio?
After the answer from Andrew Rollings, I am able to view the code, but is there any easy way to debug through the code in Visual Studio?
解决方案
If the DLL is in a .NET language, you can decompile it using a tool like .NET Reflector and then debug against the source code.
Or you could ask the vendor if source code is available. That's probably the easiest way.
这篇关于在Visual Studio中调试第三方DLL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!