Intel System Studio 2018 Getting Started Guide
Component |
Description |
---|---|
Intel® System Debugger — System Debug |
Enables JTAG-based debugging of Intel® architecture-based system software and embedded applications. |
Intel® System Debugger — System Trace |
Allows you to access the Intel® Trace Hub, providing advanced SoC-wide instruction and data events tracing. |
Intel® Debug Extensions for WinDbg* |
Extend WinDbg* with JTAG debugging capabilities and Intel ® Processor Trace support. |
Intel® Debugger for Heterogeneous Compute |
Remotely debugs parts of application code that get executed on an Intel® integrated GPU. |
This tutorial uses a Simics* simulation target to help you get familiar with the basic features of Intel® System Debugger — System Debug.
Step 1: Establish Target Connection
Step 2: Start Debugging Session
Alternatively, click System Debugger (Debug) on your Start page.
On Windows* OS systems, depending on your security settings, a Windows Security Alert dialog box might display, informing you about the Windows* OS firewall blocking some features of the demo application. Select your appropriate settings and click Allow access. Windows* OS saves this setting so that the dialog box will not display when you launch the application for further sessions.
During the demo application launch, several other, simulation related windows are displayed which belong to the shell starting the simulation process and to the simulated graphics and serial consoles. You can ignore these windows for this tutorial.
When the startup is complete, the Intel® System Debugger opens in default view. The debugger downloads the program code to the target (the simulation engine) and stops the execution of the demo application at its entry point.
The Source view and the Console view are visible, providing the actual active source code and a display of the ongoing activities of the debugger.
The Console view acts like a command line where you can enter Intel® System Debugger commands. It also displays any kind of informational, warning or error messages that provide further information about ongoing debugger activities.
The debugger is now ready to run the sample application as described in the following sections.
Step 3: Run Demo Application
Step 3.A: Set a line breakpoint |
The easiest way to set a breakpoint is double-clicking one of the blue dots in the Source view. The blue dots indicate lines that contain executable code and therefore can be used to set breakpoints.
|
Step 3.B: Run the application |
Click the
The program stops at the breakpoint and the program counter, iconized by a yellow arrow in the Source view, is set to line 179. The executed line is highlighted with a blue background color. The graphics console of the simulated target displays the string programmed with line 167 of the application: To prepare the next step, double-click the breakpoint icon at line 179 to remove the breakpoint there. |
Step 3.C: Evaluate variables of a specific function |
|
Step 3.D: Explore the debugger |
To discover and explore more features of the Intel® System Debugger, check out the following:
|
Resource |
Description |
---|---|
The sample code and tutorials available for download guide a new user through basic product features. Sample code illustrates common code inefficiencies and the corresponding tutorials show how the performance analysis products can be used to solve issues. |
|
Intel® System Debugger — System Debug documentation |
The following documentation about the Intel® System Debugger — System Debug may be helpful: |
Intel® System Debugger — System Trace documentation |
The following documentation about the Intel® System Debugger — System Trace may be helpful: |
Intel® Debug Extensions for WinDbg* documentation |
The following documentation about the Intel® Debug Extensions for WinDbg* may be helpful: |
Intel® Debugger for Heterogeneous Compute documentation |
The following documentation about the Intel® Debugger for Heterogeneous Compute may be helpful: |
Additional Documentation |
Use the online documentation for the latest content. A downloadable ZIP file containing all Intel® System Studio documentation is available for offline use from https://software.intel.com/en-us/articles/download-documentation-intel-system-studio-current-previous. |
Visit this page for support and the latest online documentation. |
Intel, Intel Atom, Intel Core and the Intel logo are trademarks of Intel Corporation in the U.S. and/or other countries.
*Other names and brands may be claimed as the property of others.
© Intel Corporation