Visual Studio 2010调试器不会在Breakpoint停止吗? [英] Visual studio 2010 debugger don't stop at Breakpoint?

查看:71
本文介绍了Visual Studio 2010调试器不会在Breakpoint停止吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在计算机(Windows 7 64位)上使用Visual Studio 2010时遇到问题

I've problem using visual studio 2010 on my computer (windows 7 64-bits)

我正在为Outlook开发C#加载项。我可以在Outlook中添加它,尝试一下,但是我无法调试它,因为调试器不会在断点处停止。我在Google和此处搜索了有关此内容的内容,但没有找到任何对我有帮助的东西。

I'm doing a c# add-in for outlook. I could add it on outlook, try it, but I couldn't debug it because debugger don't stop at breakpoints. I search something about that on google and here, but I found nothing that help me.

有人有解决方案吗?

推荐答案

您是否已将Visual Studio附加到Outlook进程?
要附加到现有进程,请打开Debug-> Attach to Process ...

Have you attached Visual Studio to the Outlook process? To attach to an existing process open Debug->Attach to Process...

然后,您应该可以调试自己的代码。

Then you should be able to debug your own code.

编辑:
看看。基本上,似乎有两种方法可以解决此问题:

Have a look at this. Basically there seem to be two ways this could be resolved:


  • 将您的项目启动操作更改为启动项目,而不是启动外部应用程序

  • Change your project start action to Start Project instead of Start external app

该文章中还有另一个链接指向另一则帖子。在其中有很多东西,但是在底部却描述了VS不能同时调试多个Framework(例如2.0和4.0)。还有一些有关如何解决此问题的说明。

There's another link in that article pointing to another post. In that is quite a lot of stuff, but at the bottom there's descriped that VS can't debug multiple Frameworks at the same time (like 2.0 and 4.0). There are also some descriptions at how to work around this.

这篇关于Visual Studio 2010调试器不会在Breakpoint停止吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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