How do I set a Data Breakpoint in mixed( C#/C++ ) debugging?

前端 未结 4 2003
醉话见心
醉话见心 2021-02-04 01:04

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.

<
4条回答
  •  感情败类
    2021-02-04 02:10

    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.

提交回复
热议问题