forked from qt-creator/qt-creator
Doc: specifying analyzer settings at project level
Change-Id: Ic0d68dbaf3a1b57a56b3e2cb2670399460df8589 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Binary file not shown.
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 4.7 KiB |
BIN
doc/images/qtcreator-analyzer-settings.png
Normal file
BIN
doc/images/qtcreator-analyzer-settings.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
@@ -82,6 +82,10 @@
|
||||
|
||||
\section1 Selecting Options for Memory Analysis
|
||||
|
||||
You can specify analyzer settings either globally for all projects or
|
||||
separately for each project in the \l{Specifying Run Settings}{run settings}
|
||||
of the project.
|
||||
|
||||
Stack traces can get quite large and confusing, and therefore, reading them
|
||||
from the bottom up can help. If the stack trace is not big enough or it is
|
||||
too big, select \gui {Tools > Options > Analyzer}.
|
||||
@@ -168,6 +172,10 @@
|
||||
|
||||
\section1 Selecting Profiling Options
|
||||
|
||||
You can specify analyzer settings either globally for all projects or
|
||||
separately for each project in the \l{Specifying Run Settings}{run settings}
|
||||
of the project.
|
||||
|
||||
To specify settings for Valgrind, select \gui {Tools > Options >
|
||||
Analyzer}. The \gui {Profiling Options} group contains Callgrind options.
|
||||
|
||||
|
@@ -0,0 +1,37 @@
|
||||
\section2 Specifying Analyzer Settings
|
||||
|
||||
\QC integrates \l{Analyzing Code}{Valgrind code analysis tools} for
|
||||
detecting memory leaks and profiling function execution. You can configure
|
||||
the tools according to your needs.
|
||||
|
||||
You can specify analyzer settings for the desktop and Qt Simulator targets.
|
||||
You can specify them either globally for all projects or separately for each
|
||||
project.
|
||||
|
||||
To specify analyzer settings for the current project:
|
||||
|
||||
\list 1
|
||||
|
||||
\o In the \gui {Analyzer Settings} section, select \gui Custom.
|
||||
|
||||
\o Specify analyzer settings for the project.
|
||||
|
||||
\image qtcreator-analyzer-settings.png "Analyzer Settings"
|
||||
|
||||
\endlist
|
||||
|
||||
For more information about the settings, see:
|
||||
|
||||
\list
|
||||
|
||||
\o \l{Selecting Options for Memory Analysis}
|
||||
|
||||
\o \l{Selecting Profiling Options}
|
||||
|
||||
\endlist
|
||||
|
||||
Click \gui {Restore Global} to revert to the global settings.
|
||||
|
||||
To specify global analyzer settings, select \gui {Tools > Options >
|
||||
Analyzer}.
|
||||
|
@@ -50,6 +50,7 @@
|
||||
|
||||
\if defined(qcmanual)
|
||||
\input projects/creator-projects-settings-run-desktop.qdocinc
|
||||
\input projects/creator-projects-settings-run-analyze.qdocinc
|
||||
\input symbian/creator-projects-settings-run-symbian.qdocinc
|
||||
\input linux-mobile/creator-projects-settings-run-madde.qdocinc
|
||||
\input linux-mobile/creator-projects-settings-run-generic-linux.qdocinc
|
||||
|
Reference in New Issue
Block a user