简体   繁体   English

调试时未击中断点,Outlook Add in

[英]Breakpoints are not hit when debugging, Outlook Add in

I spend to resolve this issue for half of my working day but I could not find out the solution. 我花了半天的时间来解决此问题,但找不到解决方案。 I am using Visual Studio 2013 and have around 10 projects in one solution. 我正在使用Visual Studio 2013,并且在一个解决方案中有大约10个项目。 one of them is Outlook Addin. 其中之一是Outlook Addin。

The Outlook refer to Debug Directory ( PROJECT_NAME/bin/Debug/AddinOutlook2013.vsto|vstoocal) Outlook指向调试目录(PROJECT_NAME / bin / Debug / AddinOutlook2013.vsto | vstoocal)

It success to show up a simple dialog ( OK ) when a button in Addin in Outlook was clicked. 单击Outlook中的Addin中的按钮后,成功显示一个简单的对话框(OK)。 But when i put the break point that code, it is never hit. 但是当我把断点放在那个代码上时,它永远不会被击中。

PROBLEM 问题

Breakpoints are not hit when debugging in Outlook Add in project. 在Outlook Add in项目中调试时不会达到断点。

What I DID were : 我的DID是:

How can i hit the breakpoint ? 我如何达到断点?

Thank you for any help and advice. 感谢您的帮助和建议。

Resolved !!!! 解决 !!!!

Thank you for many helps. 感谢您的帮助。 Finally i have done it !! 终于我做到了!

How did I fix 我如何解决

Set the Startup Project to Addin Project. 将启动项目设置为加载项项目。 Then Close Outlook and then Run as Debug for the Solution. 然后关闭Outlook,然后以调试方式运行该解决方案。

Thank you for many helps! 感谢您的帮助!

I love you! 我爱你!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 调试使用WinForms应用程序时不会击中.net核心库中的断点 - Breakpoints in .net core library will not be hit when debugging consuming WinForms app 在VS 2005中,调试调试版本时未达到断点是什么意思? - in VS 2005 what does it mean when breakpoints are not hit when debugging a Debug build? 在Visual Studio中远程调试Azure Web应用程序时未达到断点 - Breakpoints not being hit when remote debugging Azure web app in Visual Studio SSDT SQL Server调试不会命中CLR断点 - SSDT SQL Server Debugging Doesn't Hit CLR Breakpoints 在VS10中调试时断点没有被击中 - Breakpoints not getting hit while debugging in VS10 在调试包含大字符串的xunit测试时不会出现断点 - Breakpoints are not hit while debugging xunit test that includes a large string 调试ASP.Net应用程序-跳过行和断点​​未命中 - Debugging ASP.Net app - skipping lines and breakpoints not being hit 没有断点的代码调试错误 - Bug when debugging code without breakpoints 在Xamarin调试时,没有断点停 - When debugging in Xamarin, it does not stop at breakpoints 从外部程序调用 C# 应用程序时未命中断点 - Breakpoints not hit when C# application called from external program
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM