调试在VS2003的另一个解决方案中的一个DLL [英] Debugging a DLL which is in another solution on VS2003

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

问题描述

我正在尝试调试一个从VC ++应用程序
调用的DLL,但不能在DLL函数中进行,因为DLL源位于另一个解决方案项目中的



我试图在DLL函数调用之前设置一个断点,但是当我尝试进入它时,它直接通过



我知道有可能只是自己调试DLL,并给它
参数,但由于有很多变量,我没有找到它实用
用于调试目的。



有没有办法调试与调用应用程序
分离的DLL,就像单个解决方案文件一样?

解决方案

您可以做的一件事是在VS之外启动您的应用程序,使用DLL打开解决方案,并附加到应用程序。 / p>

I'm am trying to debug a DLL which is called from a VC++ application, but cannot step-inside the DLL function because the DLL source is located in another solution project.

I have tried to set a break point right before the DLL function call but when I try to step-in it just passes right down.

I am aware that it is possible to just debug the DLL on its own and feed it arguments, but since there are many variables, I do not find it practical for debugging purposes.

Is there a way to debug a DLL that is separate from the Invoking Application as if it where a single solution file?

解决方案

One thing you can do is start up your app outside of VS, open the solution with the DLL, and attach to the application.

这篇关于调试在VS2003的另一个解决方案中的一个DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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