Simplified doc-site generation
[AGL/documentation.git] / docs / ATTIC / 3_Developer_Guides / 4_X(cross)_Development_System:_User's_Guide / 3_Debugging_Your_First_AGL_Application / 3.4.3.1_Overview.md
1 ---
2 edit_link: ''
3 title: Overview
4 origin_url: >-
5   https://git.automotivelinux.org/src/xds/xds-docs/plain/docs/part-1/debug-overview.md?h=master
6 ---
7
8 <!-- WARNING: This file is generated by fetch_docs.js using /home/boron/Documents/AGL/docs-webtemplate/site/_data/tocs/devguides/master/xds-docs-guides-devguides-book.yml -->
9
10 # Overview
11
12 Debugging your AGL application is based on the GNU Project Debugger
13 ([GDB](https://www.gnu.org/software/gdb/)).
14 In order to use GDB, you must use `xds-gdb` as a wrapper on GDB to
15 cross-debug your application.
16 For information on `xds-gdb`, see the
17 "[Client Part](./client-part.html)" topic.
18
19 Using `xds-gdb` allows you to debug an application built with
20 XDS without the need to install GDB or any cross-tools.
21
22 XDS supports two debugging models:
23
24 * Native debugging
25
26 * XDS remote debugging
27
28 The default debugging model is XDS remote.
29 To use this model, you must have previously set up the XDS
30 agent and server so that you can cross-debug your application.
31 See the
32 "[Server Part](./server-part.html)" and
33 "[Client Part](./client-part.html)" topics for more
34 information on getting set up.
35
36 If you want to use the native debugging model, you must define the
37 `XDS_NATIVE_GDB` environment variable.
38 See the
39 "[Configuration](./debug-configuration.html)" topic for information
40 on XDS configuration variables.
41
42 The remainder of this topic describes
43 [configurations](./debug-configuration.html), using the XDS
44 [command line](./debug-cmd-line.html) to debug, and using an
45 [IDE](./debug-ide.html) to debug.