Manual Test - Remote User mode Debugging - Native
This is a manual test & it should be run outside HLK by following the manual instructions provided below. If this test is run as an automated test from HLK studio/controller, the test will pass by default without testing any functionality.
Manual instructions to run this test:
- Hardware Prerequisites
- Device under test
- USB-Ethernet (2.0) adapter
- IP Network connectivity via Ethernet
- Software Prerequisites
- Windows Desktop (x86/amd64) - with windbg installed
- Firmware & full OS
- mwdbgsrv.exe - location of binary <Kits_Root>\EnterpriseWDK_Dev14\Program Files\WindowsKits\10\MSPackages\Merged\arm64\fre\Microsoft.MS_MWDBGSRV.MSN.MainOS.cab
- Extract and copy the standalone binary onto the desktop device into some temp directory
- Setting up the Test
- On device under test, flash firmware & install full OS
- Open Admin command prompt
- Run ipconfig.and note the ip - address of the Ethernet network card
- In Admin command prompt
- Go to directory where mwdbgsrv.exe was installed
- Run mwdbgsrv -t tcp:port=8888
- Running the Test
- On the Windows Desktop x86/amd64 machine run
- windbg -premote tcp:server=<ip-address-of-DUT-ethernet-adapter>, port=8888
- windbg -premote tcp:server==<ip-address-of-DUT-ethernet-adapter>, port=8888 c:\windows\system32\xcopy.exe(or any test executable)
- Verification
- Windbg should come up
- Navigate to File Menu
- Select "Attach to Process"
- You should see list of user-mode processes to attach to
- Attach to some process
- Windbg should come up and begin running user mode test-app and breaks on load
- Windbg should come up
Test details
Specifications |
|
Platforms | |
Supported Releases |
|
Expected run time (in minutes) | 10 |
Category | Development |
Timeout (in minutes) | 15 |
Requires reboot | false |
Requires special configuration | false |
Type | manual |
Additional Documentation
Tests in this feature area might have additional documentation, including prerequisites, setup, and troubleshooting information, that can be found in the following topic(s):
Troubleshooting
For generic troubleshooting of HLK test failures, see Troubleshooting Windows HLK Test Failures.