Friday, June 19, 2015

Debugging Managed C++ (If the breakpoint is not hit)

When linking C# and Managed C++, there are times when a breakpoint is set in C# but not in Managed C++ alone.

In that case, follow these two procedures:
1. In the Managed C++ properties window, set Debugging - Debugger Type to Mixed.

2. In Visual Studio options, check Debugging - Use Managed Compatibility Mode.

No comments:

Post a Comment