VS2010 从 VS2008 升级时丢失断点命中
我为 Sparx Systems Enterprise Architect UML 建模产品开发了一些 C# 插件。 该插件是在 VS2008 下开发的,一切都很好。 我以为我会升级到 VS2010,并且升级似乎没有错误(或者就可以看到任何实质性警告而言)。但是,我在VS2010下无法触发任何断点。我可以设置它们,但是当代码在IDE下运行时,代码不会在断点处停止。
正在创建 PDB 文件,并且源文件和二进制文件保持同步。我在网上(以及 Stack Overflow 中)找到了一些有关断点和 Web 开发问题的参考资料,但我只是开发 COM 感知的加载项,没有任何花哨的东西。我“按规范”尝试了其中一些解决方案,但无济于事。
有人知道为什么升级会导致这种情况吗?
TIA, 保罗
I develop some C# Add-Ins for the Sparx Systems Enterprise Architect UML modelling product.
The Add-In was being developed under VS2008 and all was fine.
I thought I'd upgrade to VS2010 and the upgrade appeared to work without error (or as far as can see any substantive warnings). However, I can't trigger any breakpoints under VS2010. I can set them but when the code runs under the IDE, the code doesn't stop at the breakpoint.
The PDB files are being created and the source and binaries are in synch. I found some references on the net (and in Stack Overflow) to issues with breakpints and web development, but I'm just developing COM aware Add-Ins with no fancy stuff. I tried some of those solutions "on spec" to no avail.
Anyone got any ideas why the upgrade has resulted in this?
TIA,
Paolo
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
几个月前我遇到了完全相同的问题,断点没有停止。我最终安装了服务包 就像@Hans Passant 提到的那样,它解决了我的问题。我还读到重新安装 VS2010 可以修复它,但我认为你应该只使用服务包。
I had the exact same issue a couple months ago with breakpoints not stopping. I ultimately installed the service pack like @Hans Passant mentioned and it fixed my issues. I've also read that reinstalling VS2010 will fix it, but I think you should just go for the service pack.