调试在Visual Studio第三方DLL?第三方、Visual、Studio、DLL

2023-09-02 21:53:44 作者:鲸有多爱海

我使用的是第三方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?

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