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?
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?
You can't. 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.
So to do this I had to:
yech
You can get similar effect as Data Breakpoint if add into your source simple condition:
if (requiredcondition) command;
and add break on 'command'.