在Visual Studio中调试第三方DLL? [英] Debugging a third-party DLL in Visual Studio?

查看:228
本文介绍了在Visual Studio中调试第三方DLL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用第三方DLL。对于某些特定情况,DLL中的一个函数会抛出异常。可以在Visual Studio中调试DLL吗?



之后 / p>

如果DLL在。NET 语言,您可以使用 .NET等工具进行反编译反射器,然后针对源代码进行调试。



或者您可以询问供应商是否有源代码可用。这可能是最简单的方法。


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?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆