How to debug PInvoke-ed C++ DLL from .NET code

If you’ve tried debugging a C++ DLL and could not make Visual Studio to load the debug symbols for that DLL (you kept getting the “The breakpoint will not currently be hit” message), here is something useful I find out on this stackoverflow post: make sure to uncheck the “Enable Just My Code” Visual Studio setting. You […]