Kernel-mode code has permission to access any part of the system, and it is not restricted like user-mode code. Kernel mode is the processor-access mode in which the operating system and privileged programs run. Next, you need to determine whether you will do kernel-mode or user-mode debugging. Determine the type: kernel-mode or user-mode For more information, see Setting up network debugging of a virtual machine - KDNET. However, if your code is communicating to low-level hardware, using a virtual PC may not be the best approach. For example, you might be able to use a virtual PC that is running on the same PC as the code that you need to debug. In some situations, you might be able to use a virtual machine as the second system. The debugger runs on the host system, and the code that you want to debug runs on the target system.īecause it is common to stop instruction execution on the processor during debugging, two computer systems are typically used. To get started with Windows Debugging, complete the tasks that are described in this article. If your goal is to use the debugger to analyze a crash dump, see Analyze crash dump files by using WinDbg. This article covers how to get started with Windows Debugging.
0 Comments
Leave a Reply. |