'Debugging VC++ DLL suddenly stops working

Basically I have a C# app under traditional .NET 4.5 that references a DLL built in VC++.

Now I need to debug the code within the VC++ DLL (COM Server) referenced so I put some breakpoints there. Once I reach those breakpoints I start to do step over (F10) and step into (F11) in order to debug the code step by step. I am able to debug some lines of code but suddenly debugging stops working randomly when performing step over/into and then Visual Studio hangs (not responding).

So any ideas why it is happening?



Solution 1:[1]

Try project's property and change debugger type to Mixed or Native Only.from Auto

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 JohnCz