question

AlexanderKovacs-3993 avatar image
0 Votes"
AlexanderKovacs-3993 asked AlexanderKovacs-3993 commented

Is USB 3.0 remote Kernel mode Driver debugging no longer supported in VS 2019 on the latest OS's?

I see in the MS documentation located here:

[https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/setting-up-a-usb-3-0-cable-connection-in-visual-studio][1]

It says,

Important
This feature is not available in Windows 10, version 1507 and later versions of the WDK.

Does this mean you can no longer use the USB 3.0 cables for remote debug in the newest VS 2019 and OS's versions?

vs-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

TianyuSun-MSFT avatar image
0 Votes"
TianyuSun-MSFT answered AlexanderKovacs-3993 commented

Hi @AlexanderKovacs-3993 ,

Welcome to Microsoft Q&A forum.

I think this Note “This feature is not available in Windows 10, version 1507 and later versions of the WDK” is clear, it means using Microsoft Visual Studio to set up and perform kernel-mode debugging over a USB 3.0 cable is not available in Windows 10, version 1507 and later versions of the WDK.

Does this mean you can no longer use the USB 3.0 cables for remote debug in the newest VS 2019 and OS’s versions?

I noticed that “as an alternative to using VS to set up USB 3.0 debugging, you can do the setup manually”, and there is no Note in this document: Setting Up Kernel-Mode Debugging over a USB 3.0 Cable Manually, so perhaps this is available by doing the setup manually, but with VS 2019(as you mentioned the newest VS 2019), I think it means it is not available.

Best Regards,
Tianyu


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

So as an addition , which makes this even MORE confusing , the article I referenced above is from ...
04/10/2018 5 minutes to read.

There is other documentation from 05/07/2020 6 minutes to read ...
setting-up-a-usb-3-0-debug-cable-connection
Which does NOT mention this restriction. It is referenced from this document ...
setting-up-kernel-mode-debugging-in-windbg--cdb--or-ntsd
Dated 02/20/2020 2 minutes to read.

Can we get a confirmation on whether the old doc's (I know I've used USD 3.0 debugging as late as January of 2021 !) are correct or are the new doc's correct? Also, in any case why does windbg currently work over USB 3.0 with no issue?




0 Votes 0 ·