NI Vision Eclipse Development Tools

Debugging a C/C++ Project

  • Updated2023-02-21
  • 1 minute(s) read

C/C++ Development Tools for NI Linux Real-Time, Eclipse Edition offers functionality for debugging your project. Complete the following steps to debug a C/C++ project in C/C++ Development Tools for NI Linux Real-Time, Eclipse Edition:

  1. Select Run»Debug Configurations to open the Debug Configurations dialog box.
  2. Select the Debugger tab.
  3. Click the Browse button beside the GDB debugger text box.
  4. Select the correct debugger as specified in the following list:
    • Linux ARM-based targets

      (2013 software stack) arm-none-linux-gnueabi-gdb.exe in the <National Instruments>\Eclipse\toolchain\gcc-4.4-arm\i386\bin directory.

      (2014 software stack) arm-nilrt-linux-gnueabi-gdb.exe in the <National Instruments>\Eclipse\14.0\arm\sysroots\i686-nilrtsdk-mingw32\usr\bin\armv7a-vfp-neon-nilrt-linux-gnueabi directory.

    • Linux x64-based targets

      (2014 software stack) x86_64-nilrt-linux-gdb.exe in the <National Instruments>\Eclipse\14.0\x64\sysroots\i686-nilrtsdk-mingw32\usr\bin\x86_64-nilrt-linux directory.

  5. Click Open.
  6. Click Apply and then Debug to start debugging the project.
  7. Click Yes when C/C++ Development Tools for NI Linux Real-Time, Eclipse Edition, prompts you to switch perspectives.