Skip to content
Snippets Groups Projects
Commit b79fdefc authored by Martyn Welch's avatar Martyn Welch Committed by Emanuele Aina
Browse files

Remove debugging document which uses nonexistant simulator


The "Debugging app in eclipse" document describes how to launch an
application in a simulator in debugging mode. The simulator is no longer
available in any supported version of Apertis, so remove this document.

Signed-off-by: default avatarMartyn Welch <martyn.welch@collabora.com>
parent bdeb597b
No related branches found
No related tags found
1 merge request!103Organising the developer docs
+++
short-description = "How to debug an application"
title = "Application Development: Debugging an app in Eclipse"
weight = 100
aliases = [ "/old-developer/latest/appdev-debugging.html", "/old-developer/v2019/appdev-debugging.html", "/old-developer/v2020/appdev-debugging.html", "/old-developer/v2021pre/appdev-debugging.html", "/old-developer/v2022dev0/appdev-debugging.html",]
outputs = [ "html", "pdf-in",]
date = "2016-04-22"
+++
Follow these steps to debug an application in Eclipse:
* Install your application to the simulator using **Install app to simulator**.
* Go to `Run ▸ Debug Configurations` (You should be in the C/C++ Perspective)
* Double click on the C/C++ application. It will create a new debug configuration.
* In the main tab, for C/C++ Application entry, press the **Browse** button and select `/Applications/BundleID/bin/app_bin_name`
* In Arguments tab, set app-name to ProjectName , and set working directory to `/Applications/BundleID` using the **File System** option by disabling Use Default Checkbox.
* In Environment tab, Select and check `LD_LIBRARY_PATH`. Suffix /Applications/BundleID as value for `LD_LIBRARY_PATH`
* In source tab. Click on `Add ▸ File System directory` and select `/Applications/BundleID`, then press **OK**.
* Apply all these settings and click on the **Debug** button.
* When asked to switch to the debug perspective, click **Yes**. The default breakpoint is on main(). So press F6 for step by step debugging
# Viewing simulator logs in the eclipse console
When you start the simulator from Eclipse, the logs can be seen in the Eclipse console itself. This helps in debugging and analysing the applications.
![](/images/image47.png)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment