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:
- Select Run»Debug Configurations to open the Debug Configurations dialog box.
- Select the Debugger tab.
- Click the Browse button beside the GDB debugger text box.
- 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.
- Linux ARM-based targets
- Click Open.
- Click Apply and then Debug to start debugging the project.
- Click Yes when C/C++ Development Tools for NI Linux Real-Time, Eclipse Edition, prompts you to switch perspectives.