在VC ++ 2005中调试DLL [英] debug a DLL in VC++ 2005

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

问题描述

你好,

我有一个用VC2005编写的DLL和一个用于测试DLL的testprog.
我运行DLL(通过按F5键),并给了它exe的路径(testapp一个),但该应用程序运行时带有调试信息(它跳过了断点/断点被停用).

有人可以帮助我!谢谢

Hello,

I have a DLL written in VC2005 and a testprog to test the DLL.. i m wondering how can i debug the DLL using bring point ??

I run the DLL (by hitting F5) and i gave it the path of the exe (the testapp one) but the app runs withour debuggin (it jumped the breakpoint/ the breakpoint became desactivated).

could someone help me !! Thank you

推荐答案


我不能真正建议混合发行版本和调试版本,但是:是的,这是可能的.我确实还需要在常规基础上使用类似的构造.如果删除了断点,则很可能您实际上并没有使用当前的输出,或者更好的说法是,它找不到对象.最简单的测试方法是将exe复制到debug输出文件夹并从那里运行它.这样至少可以确保可以找到所有的pdb,obj等文件.

希望这会有所帮助,

干杯,AT
Hi,
I can''t really advice mixing release and debug versions but: yes it is possible. I do need to use simular constructs on a regular base as well. If the breakpoints are removed it is very likely that you are not actually using the current output or better said, it can''t find the objects. Easyest way to test this is to copy the exe to the debug output folder and run it from there. It would at least make sure that all the pdb''s, obj etc. Files can be located.

Hope this helps,

Cheers, AT


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

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