Debugging Kernel Mode Driver using Windbg
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I have a sample OSR USB board and I have written a sample driver for this USB board. I have built this driver and able to install. But I am not able to debug this driver using Windbg since it is kernel driver. OS: Win7 #include DRIVER_UNLOAD DriverUnload; void DriverUnload(PDRIVER_OBJECT pDriverObject) { DbgPrint("Driver Unload\n"); } NTSTATUS DriverEntry(PDRIVER_OBJECT pDriverObject, PUNICODE_STRING pRegistryPath) { pDriverObject->DriverUnload = DriverUnload; DbgPrint("Driver Entry : Hello Windows Device Driver World!\n"); return STATUS_SUCCESS; } Can anybody help me in debugging my driver?