1.6.2. Configuring and starting the debugger in Eclipse
In this passage we will learn how to configure our project settings to use Eclipse
with the GNU debugger. After the configuration of our project settings, the GNU
debugger will start and connect to the GDB server on the target.
Start Eclipse if the application is not started yet
Right-click on the myHelloWorld project in the Navigator window
Select
Debug As
►
Debug Configurations
A dialog to create, manage and run applications appears.
Double click on
C/C++ Remote Application ►
select
myHelloWorld Debug
Note
Make sure that on the bottom of the Debug configuration Window it says “Using GDB
(DSF)
Manual
Remote Debugging Launcher”. If it does not, then click on the “Select
Other” and select this option.
PHYTEC Embedded Pvt. Ltd 2014
25