how to use windbg running in kernel mode to set break point in user space?
1. run command "!process 0 0" to display the information of all active process.
the followed information is from process ConsoleApplication3.exe:
PROCESS ffffe00027198380
SessionId: 1 Cid: 100c Peb: 7fa0d000 ParentCid: 0b8c
DirBase: 71774000 ObjectTable: ffffc00192b82740 HandleCount: <Data Not Accessible>
Image: ConsoleApplication3.exe
2. run command ".process /i /p ffffe00027198380"
3. You need to continue execution (press 'g' <enter>) for the context to be switched.
4. When the debugger breaks in again, you will be in the ConsoleApplication3.exe process context.
5. set breakpoints for ConsoleApplication3.exe.