2013-10-31 11:40:06 +01:00
|
|
|
/****************************************************************************
|
|
|
|
|
**
|
2014-01-07 13:27:11 +01:00
|
|
|
** Copyright (c) 2014 Digia Plc and/or its subsidiary(-ies).
|
2013-10-31 11:40:06 +01:00
|
|
|
** 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.
|
|
|
|
|
// **********************************************************************
|
|
|
|
|
|
|
|
|
|
/*!
|
2014-03-17 12:18:12 +01:00
|
|
|
\contentspage {Qt Creator Manual}
|
2013-10-31 11:40:06 +01:00
|
|
|
\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.
|
2014-12-11 15:43:19 +01:00
|
|
|
To override this choice, select \uicontrol Tools > \uicontrol Options >
|
|
|
|
|
\uicontrol {Build & Run} > \uicontrol Kits.
|
2013-10-31 11:40:06 +01:00
|
|
|
|
|
|
|
|
To add debuggers:
|
|
|
|
|
|
|
|
|
|
\list 1
|
|
|
|
|
|
2014-12-11 15:43:19 +01:00
|
|
|
\li Select \uicontrol Tools > \uicontrol Options > \uicontrol {Build & Run} >
|
|
|
|
|
\uicontrol Debuggers > \uicontrol Add.
|
2013-10-31 11:40:06 +01:00
|
|
|
|
2014-12-11 15:43:19 +01:00
|
|
|
\li In the \uicontrol Name field, give a descriptive name for the debugger.
|
2013-10-31 11:40:06 +01:00
|
|
|
|
2014-12-11 15:43:19 +01:00
|
|
|
\li In the \uicontrol Path field, specify the path to the debugger binary:
|
2013-10-31 11:40:06 +01:00
|
|
|
|
|
|
|
|
\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
|
2014-05-02 12:44:45 +02:00
|
|
|
enabled. The options you
|
2013-10-31 11:40:06 +01:00
|
|
|
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
|
|
|
|
|
|
2014-12-11 15:43:19 +01:00
|
|
|
\li In the \uicontrol ABIs field, specify the ABI versions to use on embedded
|
2013-10-31 11:40:06 +01:00
|
|
|
devices.
|
|
|
|
|
|
|
|
|
|
\endlist
|
|
|
|
|
*/
|