Caanot调试主项目中的dll [英] Caanot debug dll from the main project

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

问题描述

大家好

我已经编写了MFC应用程序代码.在此,我有两个项目:主项目输出.exe,第二个项目输出.dll,主项目使用该文件.

该代码运行正常,我是否想要它做.

但是,当我在.dll代码中添加断点时,它不会中断.

我应该在项目中进行哪些更改?

非常感谢.

Chintan

Hello All

I have written an MFC application code. In that I have two projects: the main project outputs .exe and the second project outputs .dll which is used by the main project.

The code runs fine and does I what I want it to do.

However, when I put a breakpoint in the .dll code, it does not break.

What changes should I make in the project?

Thanks a lot.

Chintan

推荐答案

我将从最简单的答案开始:您是否处于调试模式?假设您已经尝试过,那么我认为这篇文章可能会帮助您或者至少为您指明正确的方向:

http://social.msdn.microsoft.com /Forums/zh-CN/vcgeneral/thread/7fddce63-b971-41c6-a12b-55ae4211a4fd/ [
I''m going to start with the simplest answer: are you in debug mode? Assuming you''ve already tried that, I think this post might help you out or at least point you in the right direction:

http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/7fddce63-b971-41c6-a12b-55ae4211a4fd/[^]


这篇关于Caanot调试主项目中的dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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