I’m been trying to get kernel debugging working with VirtualBox. Both my host and the VM guest are running Windows 7.
Here’s how I was finally able to get it working.
On the VM guest
Created new boot entry with:
- bcdedit /copy {current} /d “Windows with with serial debugging”, copy the created {guid}
- bcdedit /set {guid} debug on
- bcdedit /set {guid} debugport 4, for some reason none of the others ports worked for me
- bcdedit /set {guid} baudrate 115200
Shutdown the VM, then enabled a serial port in VirtualBox:
On the host
Launched windbg and connected using the following settings:
Back on the VM guest
And finally it worked 🙂
2 Comments
Hola Angel. Por si hablas español, agradecerte esta página donde explicabas cómo configuraste VirtualBox y WinDbg para debugging en ring0. Muchas gracias, me ha venido muy bien. Lo he configurado siguiendo tus pasos y todo me ha funcionado a la perfección. Gracias.
¡Excelente!