Embedded Design Handbook

ID 683689
Date 8/28/2023
Public
Document Table of Contents

6.1. Software Debugging Options

The Nios® II EDS provides the following programs to aid in debugging your hardware and software system:

  • The Nios® II SBT for Eclipse debugger
  • Several distinct interfaces to the GNU Debugger (GDB)
  • A Nios® II-specific implementation of the First Silicon Solutions, Inc.
  • System Console, a system debug console
Figure 240.  Nios® II Software Development Flows: Testing Software

You can begin debugging software immediately using the built-in Nios® II SBT for Eclipse debugger. This debugging environment includes advanced features such as trace, watchpoints, and hardware breakpoints.

The Nios® II EDS includes the following three interfaces to the GDB debugger:

  • GDB console (accessible through the Nios® II SBT for Eclipse)
  • Standard GDB client (nios2-elf-gdb)
  • Insight GDB interface (Tcl/Tk based GUI)

Additional GDB interfaces such as Data Display Debugger (DDD), and Curses GDB (CGDB) interface also function with the Nios® II version of the GDB debugger.

For more information about these interfaces to the GDB debugger, refer to the " Nios® II Command-Line Tools" and "Debugging Nios® II Designs" chapters of the Embedded Design Handbook.

The System Console is a system debug console that provides the Platform Designer designer with a Tcl-based, scriptable command-line interface for performing system or individual component testing.

For detailed information about the System Console, refer to the "Analyzing and Debugging Designs with the System Console" chapter in volume 3 of the Intel® Quartus® Prime Handbook. Online training is available at the Intel Training page of the Intel website.

Third party debugging environments are also available from vendors such as Lauterbach Datentechnik GmBH and First Silicon Solutions, Inc.