调试在Visual Studio第三方DLL? [英] Debugging a third-party DLL in Visual Studio?
问题描述
我使用的是第三方DLL。对于某些特定的情况下,在DLL的函数抛出异常。是否有可能在DLL在Visual Studio调试?
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?
在<一个href="http://stackoverflow.com/questions/349918/debugging-a-third-party-dll-in-visual-studio/349925#349925">the从安德鲁·罗林斯回答,我可以查看code,但有没有简单的方法,通过在Visual Studio中的code?
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?
推荐答案
如果该DLL是在。 NET 语言,你可以使用一个工具如 .net反射,然后反编译调试对源$ C $ C。
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.
或者,你可以要求供应商,如果源$ C $ c是可用的。这可能是最简单的方法。
Or you could ask the vendor if source code is available. That's probably the easiest way.
这篇关于调试在Visual Studio第三方DLL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!