It seems that Im leagally required to tell you that I belong in the group of Students, Hobbyists, Dilettantes, and Dabblers. Strong emphasis on the last two.
I tried several guides and things related to them:
- Windows docs guide to debug with Visual Studio with laptop as target
- Windows docs step by step guide to manually setup debugging with laptop and VM as target
- This guide: https://www.osr.com/nt-insider/2015-issue2/kdnet-debugging/ with VM as target
VM is VirtualBox btw.
The end result is always the same. Windbg says “waiting to reconnect” and nothing happend bexonf this point.
If I would at least know how to properly check if all preconditions are met on host and target side. But Im really not sure.
bcdedit on target VM for example does not look right to me:
PS C:\Windows\system32> bcdedit
Windows-Start-Manager
---------------------
Bezeichner {bootmgr}
device partition=\Device\HarddiskVolume1
description Windows Boot Manager
locale de-DE
inherit {globalsettings}
default {current}
resumeobject {0f9b6fad-dcd5-11eb-9458-a05e50d80135}
displayorder {current}
toolsdisplayorder {memdiag}
timeout 30
Windows-Startladeprogramm
-------------------------
Bezeichner {current}
device partition=C:
path \Windows\system32\winload.exe
description Windows 10
locale de-DE
inherit {bootloadersettings}
recoverysequence {0f9b6faf-dcd5-11eb-9458-a05e50d80135}
displaymessageoverride Recovery
recoveryenabled Yes
allowedinmemorysettings 0x15000075
osdevice partition=C:
systemroot \Windows
resumeobject {0f9b6fad-dcd5-11eb-9458-a05e50d80135}
nx OptIn
bootmenupolicy Standard
debug Yes
PS C:\Windows\system32>
kdnet says NIC is supported. The
PS C:\Windows\system32> & "C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\kdnet.exe"
Network debugging is supported on the following NICs:
busparams=0.3.0, Intel(R) PRO/1000 MT Desktop Adapter, KDNET is running on this NIC.
Network debugging is not supported on any of this machine's USB controllers.
KDNET transport initialization failed during a previous boot. Status = 0xC00000B5.
InitializeNetwork failed to get the MAC address of the host debugger. Check the dbgsettings hostip!
PS C:\Windows\system32>