1

On one computer I run Windbg.exe I want connect to this computer an another physical computer And on the other computer install and debug a driver I wrote it.

Is this possible and how?

It should be noted that already I checked my driver on virtual machine and everything works great, but the only physical machine, has a blue screen, so I want to debug the physical machine.

codeDom
  • 1,623
  • 18
  • 54

2 Answers2

3

Of course it's possible. You can connect to the target machine using a serial port, Firewire, USB 2 or USB 3 (requires special hardware support, special cable, and I heard it doesn't work more times than it does) or the preferred way if you're using Windows 8 or higher - over Ethernet.

You use bcdedit on the target computer exactly like you did on your VM and you pass kd.exe or windbg.exe a kernel connection string just like you did when you were debugging your VM - only with another transport.

conio
  • 3,681
  • 1
  • 20
  • 34
1

Yes its possible to debug physical machine. As conio provided information for this. You can also follow Microsoft guidelines for setting up debug environment.

https://msdn.microsoft.com/en-us/library/windows/hardware/hh439378(v=vs.85).aspx

Chandra
  • 471
  • 2
  • 10