summaryrefslogtreecommitdiff
path: root/doc/src/analyze/creator-analyze.qdoc
blob: 8a004665f5e695e890fea4d0c2b5058bc88f7d60 (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
/****************************************************************************
**
** Copyright (c) 2013 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-troubleshooting-debugging.html
    \page creator-analyze-mode.html
    \nextpage creator-qml-performance-monitor.html

    \title Analyzing Code

    You can use the code analysis tools in the \gui Analyze mode. To switch to
    \gui Analyze mode, select \gui Analyze in the mode selector, or select the
    \gui {Analyze} menu and then select a tool. When you are in the
    \gui Analyze mode, you can switch between tools by selecting them in the
    menu on the toolbar.

    \image qtcreator-analyze-menu.png "Analyze mode menu"

    By default, the views in the \gui Analyze mode are locked into place in the
    workspace. Select \gui {Window > Views > Locked} to unlock the views. Drag
    and drop the views into new positions on the screen. Drag view borders to
    resize the views. The size and position of views are saved for future
    sessions. Select \gui {Window > Views > Reset to Default Layout} to reset
    the views to their original sizes and positions.

    You can use the following code analysis tools in the \gui Analyze mode:

    \list

        \li \l{Profiling QML Applications}{QML Profiler}

            You can inspect binding evaluations, signal handling, and
            painting operations when running QML code. This is useful for
            identifying potential bottlenecks, especially in the evaluation
            of bindings.

        \li \l{Using Valgrind Code Analysis Tools}{Valgrind Code Analysis Tools}

            You can detect problems in memory management by using the Memcheck
            tool and find cache misses in the code by using the Callgrind tool.

    \endlist

*/