forked from qt-creator/qt-creator
The API docs still contain references to OS X. Change-Id: I622eb4d2c79f3162f5dc95e04be262d628c8d7b9 Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
78 lines
3.2 KiB
Plaintext
78 lines
3.2 KiB
Plaintext
/****************************************************************************
|
|
**
|
|
** Copyright (C) 2016 The Qt Company Ltd.
|
|
** Contact: https://www.qt.io/licensing/
|
|
**
|
|
** This file is part of the Qt Creator documentation.
|
|
**
|
|
** Commercial License Usage
|
|
** Licensees holding valid commercial Qt licenses may use this file in
|
|
** accordance with the commercial license agreement provided with the
|
|
** Software or, alternatively, in accordance with the terms contained in
|
|
** a written agreement between you and The Qt Company. For licensing terms
|
|
** and conditions see https://www.qt.io/terms-conditions. For further
|
|
** information use the contact form at https://www.qt.io/contact-us.
|
|
**
|
|
** GNU Free Documentation License Usage
|
|
** 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. Please review the following information to ensure
|
|
** the GNU Free Documentation License version 1.3 requirements
|
|
** will be met: https://www.gnu.org/licenses/fdl-1.3.html.
|
|
**
|
|
****************************************************************************/
|
|
|
|
// **********************************************************************
|
|
// 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 {Qt Creator Manual}
|
|
\previouspage creator-qml-performance-monitor.html
|
|
\page creator-valgrind-overview.html
|
|
\nextpage creator-analyzer.html
|
|
|
|
\title Using Valgrind Code Analysis Tools
|
|
|
|
\QC integrates \l{http://valgrind.org/info/tools.html}{Valgrind code
|
|
analysis tools} for detecting memory leaks and
|
|
profiling function execution. You must download and install them separately
|
|
to use them from \QC.
|
|
|
|
You can run the Valgrind tools either \e locally on the development host or
|
|
\e remotely on another host. You can use them to analyze both applications
|
|
for which you set up a project in \QC and applications for which you do not
|
|
have a project.
|
|
|
|
Valgrind tools are supported locally only on Linux and \macos. However,
|
|
according to Valgrind.org, support on \macos 10.8 and 10.9 is experimental and
|
|
mostly broken. You can run the tools on a remote Linux machine or device
|
|
from any development host.
|
|
|
|
To run the Valgrind tools to analyze an application for which you have a
|
|
project, open the project in \QC and select the kit to run the project. The
|
|
kit specifies whether the Valgrind tools are run locally or remotely.
|
|
|
|
For more information about analyzing applications for which you do not have
|
|
a project, see \l{Running Valgrind Tools on External Applications}.
|
|
|
|
To select options for the Valgrind tools, select \uicontrol {Tools > Options >
|
|
Analyzer}. You can override the general settings for each project in the
|
|
\uicontrol {Run Settings} for the project.
|
|
|
|
The following sections describe how to use the Valgrind tools:
|
|
|
|
\list
|
|
|
|
\li \l{Detecting Memory Leaks}
|
|
|
|
\li \l{Profiling Function Execution}
|
|
|
|
\endlist
|
|
|
|
*/
|
|
|