diff options
author | 2019-05-06 13:53:15 -0700 | |
---|---|---|
committer | 2019-05-06 13:53:15 -0700 | |
commit | 327daf1e12f950b4700f9a8d8c10e143fa126b86 (patch) | |
tree | 88e7adf1591962b4947c75e6a46860d07a6ff835 /docs/part-1/debug-ide.md | |
parent | c4cabee5bacd0412ee29853a7f4d51b39b90089a (diff) |
XDS Debugging: Rename of files and update devguides-book.yml
The debugging section for XDS needs new file names and also
needs to fix the order in which the files appear as topics.
I have done both.
Change-Id: I57920f3c0860d1b5a7ab9299c538b57140579581
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Diffstat (limited to 'docs/part-1/debug-ide.md')
-rw-r--r-- | docs/part-1/debug-ide.md | 44 |
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 100644 index 0000000..0473892 --- /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](./4_build-first-app.html) for more details). + +## Netbeans + +__Netbeans 8.x :__ + +- Open menu **Tools** -> **Options** + - Open **C/C++** tab, in **Build Tools** sub-tab, click on **Add** button: + + {:: style="width:90%; max-width:700px; margin:auto; display:flex"} + + - Then, you should set **Make Command** and **Debugger Command** to point to xds tools: + + {:: 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_) + + {:: 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...* |