Answer the question
In order to leave comments, you need to log in
How to compile and debug the first driver?
I'm trying to write my first Hello World driver
. It's building, but how do I run it in visual studio 2019 debugging?
That is, I get
Please select a valid target machine for deployment from the project property page
when using DebuggingToolsForWindows-KernelDebugger Answer the question
In order to leave comments, you need to log in
As far as I know, the regular Windows debugger cannot debug the kernel or drivers locally. This Softice was able to do this and no one else. Kernel debugging is the kind of thing that can crash the system. After all, a break point that is harmless at first glance, set at each single step, if a non-debugged thread gets into it, will break this nuclear thread. And the nuclear debugger needs the correct operation of this very kernel in the same way, and working with the debugger generates many threads in the kernel.
So, without a second machine, you can debug the kernel only by logs and crashes. Why do you think there are so few nuclear programmers?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question