Ashling* RiscFree* Integrated Development Environment (IDE) for Altera® FPGAs User Guide

ID 730783
Date 9/02/2025
Public
Document Table of Contents

3.2.2.1.6. Debugging the Project

To debug a software project, click on Debug Configurations and select Nios V Hardware Debugging. This command carries out the following actions:

  • Creates a Nios V Hardware Debugging.
  • Builds the project executable. If all target files are up to date, nothing is built.
  • If you are debugging on hardware, it establishes communications with the target and verifies that the FPGA is configured with the correct hardware design.
  • Downloads the .elfto the target memory.
  • Sets a breakpoint at the top of main().
  • Starts execution at the .elfentry point.

The Visual Studio Code debugger allows you to perform many common debugging tasks. Debugging a Nios® V program with the Nios® V plugins is generally the same as debugging any other C/C++ program with Visual Studio Code.