6

When I try to debug my KMDF driver from Visual Studio 2013, I get following error

Windows Debugging Extension for Visual Studio

Could not start debug session, error 8004005: Unspecified error

Before I get the error, it do install the driver on the target machine. Is there any log file where I can see more information?

Edit 1:

The host is Windows 7 and the target is Windows 8.1 installed in VMWare ESXi

Edit 2:

I have now tested with WINDBG, and get following log output:

Using NET for debugging

Open WinSock 2.0

Failed to initialize socket. Error On-2147467259

Kernel debugger failed initialization, HRESULT 0x80004005

"Unspecified error"

I also get following message box:

Could not start kernel debugging using

net:port=50230,key=XXXXXXXXXXXXXXX parameters, HRESULT 0x80004005

magol
  • 6,135
  • 17
  • 65
  • 120

1 Answers1

0
Windows Debugging Extension for Visual Studio

Could not start debug session, error 8004005: Unspecified error

I had no problems and some why Visual Studio 2019 Kernel Debugger has started to throw error above, VS restarts did nothing...

The solution for me was: PC reboot

Sergey Vaulin
  • 722
  • 4
  • 16