如何在混合(C#/ C ++)调试中设置数据断点? [英] How do I set a Data Breakpoint in mixed( C#/C++ ) debugging?

查看:131
本文介绍了如何在混合(C#/ C ++)调试中设置数据断点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在C#中启动我的程序,然后调用一些非托管C ++。



当我在非托管C ++中打破一行时,新数据断点菜单项显示为灰色。



有没有这个?

解决方案

要在混合模式进程的本机部分设置数据断点,请参阅由jyoung发布的答案



Visual Studio禁用数据断点当运行任何东西,但纯粹的本机代码。请参阅发布部分解释为什么从VS项目经理。


I launch my program in C#, which then calls some unmanaged C++.

When I break on a line in the unmanaged C++, the 'New Data Breakpoint' menu item is grayed out.

Is there anyway around this?

解决方案

To set a data breakpoint in the native portion of a mixed mode process, see the answer posted by jyoung.

Visual Studio disables data breakpoints when running anything but pure, native code. See this post for a partial explanation why from a VS Program Manager.

这篇关于如何在混合(C#/ C ++)调试中设置数据断点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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