升级到Visual Studio 2010后无法调试 [英] Can't debug after upgrade to Visual Studio 2010

查看:129
本文介绍了升级到Visual Studio 2010后无法调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 - 我有一个使用VSTO 2005开发的Excel 2003加载项。我刚刚升级到Visual Studio 2010,现在当我调试项目时,它不会在任何断点处停止。我没有收到警告告诉我符号没有被加载,我的断点不是
灰色或显示警告,但是当我去Windows时 - >模块,没有加载符号。加载符号的选项也是灰色的。使用Process Explorer,我可以看到Excel的运行版本指向bin / debug中的dll。而且我的pdb
也在bin / debug目录中生成。  

Hi -- I have an Excel 2003 add-in I developed using VSTO 2005. I just upgraded to Visual Studio 2010 and now when I debug my project, it won't stop at any breakpoints. I don't get a warning telling me symbols haven't been loaded, and my breakpoints aren't greyed out or showing warnings, but when I go to Windows -> Modules, no symbols are loaded. The option to Load Symbols is also greyed out. Using Process Explorer, I can see that the running version of Excel is pointing at my dll in bin/debug. And my pdb is being generated in the bin/debug directory as well.  

我成功调试的唯一方法是附加到已经运行的Excel流程。 

The only way I've successfully been able to debug is by attaching to an already running Excel process. 

有没有人有对我有什么想法?如果我错过任何有用的信息,请告诉我。谢谢。

Does anyone have any ideas for me? Let me know if I missed any info that would be helpful. Thanks.

推荐答案

嘿 - 我的电子邮件中只收到了Cindy Meister的回复,但它没有出现在论坛中。所以回答你的问题,对不起,如果我之前不清楚,但我在VS 2005开发,但我刚刚升级到VS 2010专业版。加载项
的目标仍然是Excel 2003。

Hey -- I just got a reply from Cindy Meister in my email, but it's not showing up here in the forum. So to answer your question, and sorry if I was unclear earlier, but I was developing in VS 2005 but I just upgraded to VS 2010 Professional. The target for the add-in is still Excel 2003.

再次感谢您的帮助。


这篇关于升级到Visual Studio 2010后无法调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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