The Visual Studio MI Debug Engine ("MIEngine") provides an open-source Visual Studio Debugger extension that works with MI-enabled debuggers such as gdb and lldb.
MIT License
818
stars
218
forks
source link
Trying to debug Natvis.cs from NatvisTests.cs #1484
Hi,
In testexplorer for CppTests i debug Natvis test. I'm able to debug and set breakpoints , continue NatvisTests.cs in Visual studio 2022.
I also tried dotnet test bin\DebugAdapterProtocolTests\Debug\CppTests\CppTests.dll --filter natvis
But when i set breakpoints in Natvis.cs it doesn't hit the breakpoint. I tried to search in ProcMon and found that MiDebugEngine.dll and MiCore.dll are not being loaded. So that could be the reason why it doesn't hit the breakpoint.
Can you help me how to debug Natvis.cs while running the test from testexplorer?
Hi, In testexplorer for CppTests i debug Natvis test. I'm able to debug and set breakpoints , continue NatvisTests.cs in Visual studio 2022. I also tried dotnet test bin\DebugAdapterProtocolTests\Debug\CppTests\CppTests.dll --filter natvis But when i set breakpoints in Natvis.cs it doesn't hit the breakpoint. I tried to search in ProcMon and found that MiDebugEngine.dll and MiCore.dll are not being loaded. So that could be the reason why it doesn't hit the breakpoint.