aboutsummaryrefslogtreecommitdiffstats
path: root/docs/part-1/debug-ide.md
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2019-05-13 10:20:49 -0700
committerScott Rifenbark <srifenbark@gmail.com>2019-05-13 10:20:49 -0700
commitb95a114ffacccac056ada90c5a71552f5c02e628 (patch)
tree3ff0d0f0a57a843eaa9969e33a525ea2e164008f /docs/part-1/debug-ide.md
parent1f5d90ae52bcfe0b60c5e4a343a05548608a9a4a (diff)
XDS install and app (flounder) added
I have removed files no longer used for XDS installation and application creation. I have replaced with the appropriately named files. I have updated the devguides-book-yml file to be "flounder" specific. Change-Id: Ib0d4b44bf3c7668e00e9b2075b31a4f8d9a63918 Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Diffstat (limited to 'docs/part-1/debug-ide.md')
-rwxr-xr-xdocs/part-1/debug-ide.md44
1 files changed, 44 insertions, 0 deletions
diff --git a/docs/part-1/debug-ide.md b/docs/part-1/debug-ide.md
new file mode 100755
index 0000000..bd4d15f
--- /dev/null
+++ b/docs/part-1/debug-ide.md
@@ -0,0 +1,44 @@
+# Debug using xds-gdb within an IDE
+
+First the project you want to debug must be declared on an xds-server and this
+project may also has been built using using XDS (see [Create your first AGL application](../../../#create-your-first-agl-application) for more details).
+
+## Netbeans
+
+__Netbeans 8.x :__
+
+- Open menu **Tools** -> **Options**
+ - Open **C/C++** tab, in **Build Tools** sub-tab, click on **Add** button:
+
+ ![Add new tool panel](./pictures/nb_newtool.png){:: style="width:90%; max-width:700px; margin:auto; display:flex"}
+
+ - Then, you should set **Make Command** and **Debugger Command** to point to xds tools:
+
+ ![Add new tool panel](./pictures/nb_xds_options.png){:: style="width:90%; max-width:700px; margin:auto; display:flex"}
+
+ - Finally click on **OK** button.
+
+- Edit project properties (using menu **File** -> **Project Properties**) to update Debug settings:
+
+ - Be sure that "Gen3 board" configuration is selected
+
+ - Select **Run** category, and set:
+ - Run Command: `target/start-on-root@renesas-gen3.sh`
+ (_script name may depend of RSYNC_TARGET variable you set in pre-build command_)
+ - Run Directory: `build_gen3`
+
+ - Select **Debug** category, and set:
+ - Debug command: `/bin/true`
+ - Working Directory: _empty field_
+ - Gdb Init File: `target/gdb-on-root@renesas-gen3.ini`
+ (_script name may depend of RSYNC_TARGET variable you set in pre-build command_)
+
+ ![Select Model panel](./pictures/nb_project_debug-1.png){:: style="width:90%; max-width:700px; margin:auto; display:flex"}
+
+ - Click on **Apply** and then **OK** button to save settings
+
+You can now start debugging your application with menu **Debug** -> **Debug Project** (or **CTRL+F5** shortcut)
+
+## Others IDE
+
+*Coming soon...*