-
Notifications
You must be signed in to change notification settings - Fork 17
Tutorial : How to debug a remote application ?
This tutorial describes how to debug a remote application using a Buildroot toolchain in Eclipse.
The first step will be to create a launch configuration, if you already run the execution you can use the same launcher for debugging. Else have a look to the How to execute a remote application tutorial ? to see the way to create a new launch configuration.
From the editor you can double click on the left side to add a breakpoint :
or still on the left side of the editor by right clicking, a Add breakpoint
context menu appears :
Click on the debug button in the toolbar and select the launcher you defined :
Eclipse switched automatically to the Debug
perspective :
Click on the Resume
toolbar button :
The debugger stops on the breakpoint you defined :
You can see directly from the code the actual value associated to a variable just by hovering it with the mouse.
If you run again, you will the variables changing from the Variables
view :