btrfs icon indicating copy to clipboard operation
btrfs copied to clipboard

[Q] How to debug driver with VS?

Open DjArt opened this issue 2 years ago • 4 comments

Since you switched to CMake build system, there no way to generate proper solution for VS with kernel debug support automaticly.

Is there way to do this?

DjArt avatar Dec 10 '22 20:12 DjArt

What are you talking about? It still generates PDB files.

maharmstone avatar Dec 10 '22 20:12 maharmstone

I'm about this functionality: https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/setting-up-kernel-mode-debugging-in-visual-studio

DjArt avatar Dec 11 '22 14:12 DjArt

I don't know anything about this, I'm afraid. I've always used windbg for kernel debugging.

maharmstone avatar Dec 11 '22 22:12 maharmstone

Generating driver project(now it's just DLL) properly by CMake would help. I will try look into it bit later.

DjArt avatar Dec 12 '22 02:12 DjArt