I should be able to enabled native debugging with nativeDebugging: true in launchsettings.json according to issue #1125. I have create a simple test project that can be used to reproduce the problem and it can be found here: https://github.com/dlemstra/NativeDebugTest. I am unable to step into the native code of the C project. I did not test this with the latest code so feel free to close this issue if my test project works with the latest version of Visual Studio.
Good catch - we don't appear to apply this when we launch the debugger for unit testing. Maybe we don't apply the launch profile at all in that case?
@BillHiebert @ManishJayaswal @onovotny - any ideas how this gets hooked up?
As a workaround, you might be able to work around this with a launch profile that launches the test runner explicitly, the way Roslyn does here, though updated for MSTest instead of xunit of course.
It looks like Test Explorer window does not yet have support for hooking this up. We are going to open an internal bug on this.
@AbhitejJohn - FYI.
Link the bug and I'll dupe it.
@dlemstra If you'd like to track status you'll need to "Report a Problem" and I'll link the internal bugs with it.
Here is the VSO bug - (https://devdiv.visualstudio.com/DevDiv/_workitems/edit/608790)
Most helpful comment
Good catch - we don't appear to apply this when we launch the debugger for unit testing. Maybe we don't apply the launch profile at all in that case?
@BillHiebert @ManishJayaswal @onovotny - any ideas how this gets hooked up?