aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/projects/creator-projects-debuggers.qdoc
blob: 9fbd3769d147ed94bafa5ddfa157b7aad7d11c10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
/****************************************************************************
**
** Copyright (c) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator
**
**
** GNU Free Documentation License
**
** Alternatively, this file may be used under the terms of the GNU Free
** Documentation License version 1.3 as published by the Free Software
** Foundation and appearing in the file included in the packaging of this
** file.
**
**
****************************************************************************/

// **********************************************************************
// NOTE: the sections are not ordered by their logical order to avoid
// reshuffling the file each time the index order changes (i.e., often).
// Run the fixnavi.pl script to adjust the links to the index order.
// **********************************************************************

/*!
    \contentspage index.html
    \previouspage creator-tool-chains.html
    \page creator-debuggers.html
    \nextpage creator-build-settings.html

    \title Adding Debuggers

    The \QC debugger plugin acts as an interface between the \QC core and
    external native debuggers such as the GNU Symbolic Debugger (GDB),
    the Microsoft Console Debugger (CDB), a QML/JavaScript debugger, and the
    debugger of the low level virtual machine (LLVM) project, LLDB.

    The debugger plugin automatically selects a suitable native debugger for
    each \l{glossary-buildandrun-kit}{kit} from the ones found on your system.
    To override this choice, select \gui Tools > \gui Options >
    \gui {Build & Run} > \gui Kits.

    To add debuggers:

    \list 1

        \li Select \gui Tools > \gui Options > \gui {Build & Run} >
            \gui Debuggers > \gui Add.

        \li In the \gui Name field, give a descriptive name for the debugger.

        \li In the \gui Path field, specify the path to the debugger binary:

            \list

                \li For CDB (Windows only), specify the path to the Windows
                    Console Debugger executable.

                \li For GDB, specify the path to the GDB executable. The
                    executable must be built with Python scripting support
                    enabled (except when debugging on Mac OS). The options you
                    have depend on the development and target platform:

                \list

                    \li For debugging on embedded devices using a different ABI,
                        you must provide a special executable.

                    \li For debugging on Windows using MinGW, select a Windows
                        executable of GDB with Python scripting enabled. You can
                        download it from
                        \l{http://builds.qt-project.org/job/gdb-windows}.

                \endlist

                \li For LLDB (experimental), specify the path to the LLDB
                executable.

            \endlist

        \li In the \gui ABIs field, specify the ABI versions to use on embedded
            devices.

    \endlist
*/