There's more...

To debug the application, follow these steps:

  1. Double-click on the main function in the source file to add a breakpoint. A blue dot will appear on the side-bar.
  2. Go to Run | Debug Configuration.
  3. Under the Debugger tab, verify the GDB debugger path is the correct toolchain debugger location:

/opt/poky/2.4/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gdb

If it isn't, point it to the correct location:

Debug Configuration window

On the Main tab, you can also choose between multiple launchers:

    • GDB (DSF) Automatic Remote Debugging Launcher
    • GDB (DSF) Automatic Remote Debugger Launcher via TCF/TE Launcher

Again, the first will use an SSH connection and the second will use the TCF connection:

Debug Configuration Main tab
  1. Click on the Debug button. The debug perspective appears with the application executing on the remote Wandboard hardware:
Debug Perspective window
If you get Text file busy error, remember to close the application we ran in the previous step.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset