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

ID 730783
Date 4/11/2025
Public
Document Table of Contents

3.2.3. Debug Configurations using Ashling* Visual Studio Code Extension for Altera FPGAS

You can click the + icon beside the Debug Configuration to open the debug configuration dialog box. Each debug configuration is presented on several tabs. This section describes each tab.
Table 16.  Run (Debug) Configuration
Tab Description
Main
  • Specify the application project to run.
Debugger
  • Control the connection between the host machine and the target hardware.
  • You can control the connection in the following ways:
    • Select the Debug Probe in the Debug Probe Configuration, if there is more than one debug probe available.
    • Click Auto-detect Scan Chain to detect JTAG scan chain information of the target device automatically.
    • Use GDB Server Setup to debug the software application remotely.
    • Use GDB Client Setup to communicate with the Ashling GDBServer via a TCP connection using GDB Remote Serial Protocol.
  • To modify GDB Server Setup and GDB Client Setup using the command line, you can refer to:
    • Running Ashling GBD Server for GDB Server Setup
    • Running GDB for GDB Client Setup
Note: By default, the setup is generic. It can support all environments.
Startup
  • Configure options related to software debugging.
  • Such as loading images or symbols, and setting breakpoints, which facilitates software analysis and troubleshooting.
  • You can use load image and symbol specifically for booting.
  • If you want to download your program to analyze and troubleshoot your program during execution, turn on both load image and symbols.
  • If your program is in booting mode and you want to analyze and troubleshoot your program during execution, turn off load image.
Note: Nios® V processor supports hart ID of 0 only
Source
  • Specify the source code when the source code is not present in the compilation path.
  • This allows mapping of the compile-time paths for source to local source locations. It is an object of key/value pairs and resolves the first string-matched path.

For example, "sourceFileMap": { "/mnt/c": "c:\\" } maps any path returned by the debugger that begins with /mnt/c and convert it to c:\\.