我启动我的程序在C#中,然后调用一些非托管C ++。
I launch my program in C#, which then calls some unmanaged C++.
当我打破了非托管C ++一条线,新数据断点菜单项显示为灰色。
When I break on a line in the unmanaged C++, the 'New Data Breakpoint' menu item is grayed out.
反正是有解决这个?
要设置混合模式过程中的本地部分数据断点,看的答案张贴jyoung 。
To set a data breakpoint in the native portion of a mixed mode process, see the answer posted by jyoung.
运行任何东西,但纯粹的,天然code时,Visual Studio中禁用数据断点。请参阅这个职位的部分解释,为什么从VS项目经理。
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.