I have a C# library which P/Invokes a C++ dll built with the VisualGDB MinGW toolchain.
I have an unit test library for the C# library. I would like to debug some failing unit tests and see what is going on in the C++ code.
I tried running the C# unit test in debug mode and breaking the execution on the first line. Then opening another instance of Visual Studio, and attaching a debugger with the VisualGDB connection type for debugging the C++ part. But since the code is running as a unit test, I do not know how to attach to it with VisualGDB.