Visual Studio 2008 混合项目中禁用新数据断点

发布于 2024-08-08 11:59:02 字数 358 浏览 2 评论 0原文

在从 C++/CLI 代码调用的 DLL 中,我似乎无法在某些纯 C 代码中设置数据断点。菜单选项“New Data Breakpoint...”被禁用,断点窗口中的弹出窗口也被禁用。我找不到其他人报告此问题,唯一的 类似的体验适用于移动开发人员。

调试工作正常 - 我可以在函数上设置监视和断点。

我在 Vista x64 上使用 Visual Studio 2008 Professional sp1。

In a DLL invoked from C++/CLI code I don't seem able to set Data Breakpoints in some pure C code. The menu option New Data Breakpoint... is disabled as is the popup in the breakpoints window. I haven't been able to find anyone else reporting this, the only similar experience is for a Mobile developer.

Debugging is otherwise working fine - I can set Watches and breakpoints on functions.

I'm using Visual Studio 2008 Professional sp1 on Vista x64.

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

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

发布评论

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

评论(1

泅人 2024-08-15 11:59:02

我认为只有在本机模式下调试时才可以设置数据断点。它在托管模式或混合模式调试中不可用。

I think that setting data breakpoints is only available if you are debugging in native mode. It is not available in managed mode, or mixed mode debugging.

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