Project-system: nativeDebugging in launchsettings.json not working in VS 15.6.7

Created on 29 Apr 2018  路  5Comments  路  Source: dotnet/project-system

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.

Area-External Bug Feature-Debugging

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?

All 5 comments

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)

Was this page helpful?
0 / 5 - 0 ratings