Intel® System Debugger User Guide
ID | Date | Version | Classification |
---|---|---|---|
648476 | 10/17/2024 | Confidential |
Intel® Debug Extensions for WinDbg Usage Sample
This project demonstrates how you would use Intel® Debug Extensions for WinDbg over Intel® Direct Connect Interface (Intel® DCI) to connect to a target and loading kernel symbols.
This sample works with Windows* 10 Host/Target Systems only. For a list of system requirements matching your configuration, see the Intel® System Debugger Release Notes.
Starting the Intel® Debug Extensions for WinDbg for IA JTAG Debugging
WinDbg must have access to kernel symbols for the connection to succeed. Thus, you must set the symbol file path beforehand.
Launch WinDbg (not by using the batch script, as this will perform a connection) and set the symbol file path by selecting File > Symbol File Path and adding:
to the path or by setting the
You need to do this only once before the first use. Connect the host system to the target one with the Intel® In-Target Probe (Intel® ITP) or the Intel® Direct Connect Interface (Intel® DCI).
Launching WinDbg
Intel® Debug Extensions for WinDbg can be launched as follows:
Click the desktop icon or open the Start Menu and click Intel® Debug Extensions for WinDbg under Intel® System Debugger NDA
Run
Another way to launch WinDbg over Intel DCI would be to use the
From
At this point, two Python objects are available for debugging:
itp - Intel® ITP interface
itpkd - wrapper over WinDbg and kernel debug console
Execute
From now on, you can use WinDbg commands to interact with target, for example:
Set a breakpoint:
Debugging drivers:
Get
Connecting to the target can take several minutes. Do not enter any commands until the connection is fully established and the connection confirmation message is displayed (Target initialization succeeded). If the connection fails, you see an exception in the console. Check the network connection if KDVersionBlock is not found. Run the target for a while if the kernel is not found.
Using Intel® Debug Extensions for WinDbg with WinDbg Preview*
System requirements:
Microsoft WinDbg Preview*. For download and installation instructions, see the Windows* Debugging Tools documentation.
Windows 10 version 14257.0 or higher
Starting WinDbg Preview
To start using Intel® Debug Extensions for WinDbg with WinDbg Preview* follow the steps below:
Connect to the target.
Launch
isd_shell.bat located in the installation root directory.Execute the
windbg_preview command to start WinDbg Preview*.