查看所有 Excel 2010 例外情况

发布于 2024-12-12 09:07:49 字数 130 浏览 2 评论 0原文

我有一个 VSTO Excel 2010 工作簿项目,它适用于除一台电脑之外的所有电脑。工作簿上不存在其他自定义用户控件。我注意到 C# 中的异常被抑制,但我还没有找到可以在哪里查看它们。 Excel有错误日志之类的东西吗?如何打开所有错误消息?

I have a VSTO Excel 2010 workbook project, and it works on all PCs except one. The additional custom user control isn't present on the workbook. I've noticed that exceptions in C# are suppressed, and I haven't found where they can be viewed. Is there such thing as Excel error log? How do I turn on all error messages?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

删除会话 2024-12-19 09:07:55

发生错误时,Office 使用 (2) 个错误日志源。 “Microsoft Office 诊断”和“Microsoft Office 会话”。您可以尝试使用这些来排除故障。

Office 2010
您可以通过转到“文件”->“选项”->“高级”->“开发人员”并选中“显示插件用户界面错误”来启用界面错误对话框。

Office 2007
您可以通过转到“工具”->“选项”->“其他”->“常规”->“高级选项”并选中“显示插件用户界面错误”来启用界面错误对话框。
还有一个启用日志记录的选项(不确定其行为)

There are (2) error log sources that office uses when errors occur. "Microsoft Office Diagnostics" and "Microsoft Office Sessions". You can try to use these to troubleshoot.

Office 2010
You can enable interface error dialogs by going to File->Options->Advanced->Developers and checking "Show Add-in user interface errors".

Office 2007
You can enable interface error dialogs by going to Tools->Options->Other->General->Advanced Options and checking "Show Add-in user interface errors".
There is also an option to enable logging (unsure of its behavior)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文