aboutsummaryrefslogtreecommitdiffstats
path: root/docs/part-1/debug-overview.md
blob: 22dc82db09fb39c299c3f94431dd0e4c97ecfec7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Debug your first AGL application

Debug is based on gdb and you need to use `xds-gdb` as a wrapper on gdb to
cross-debug your application.

This tool allows you to debug an application built with XDS without the need to install gdb or any cross tools.

Two debugging models are supported:

1. native debugging
1. XDS remote debugging requiring an XDS agent/server setup and that allows you to cross debug your application.

By default XDS debug model is used and you need to define `XDS_NATIVE_GDB`
variable to use native gdb debug mode instead.

---

Links to subchapters :

- [Configuration](./debug-configuration.html)
- [xds-gdb from command line](./debug-cmd-line.html)
- [xds-gdb within an IDE](./debug-ide.html)