forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/15.0'
Change-Id: Idf4b91ec219db75a2e09e1ec8e15170349dad618
This commit is contained in:
Binary file not shown.
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 4.3 KiB |
@@ -421,6 +421,8 @@
|
||||
generated from crashed processes on Linux and Unix systems if the system is
|
||||
set up to allow this.
|
||||
|
||||
\section1 Get core files
|
||||
|
||||
To enable the dumping of core files on a Unix system, enter the following
|
||||
command in the shell from which the application is launched:
|
||||
|
||||
@@ -428,11 +430,13 @@
|
||||
ulimit -c unlimited
|
||||
\endcode
|
||||
|
||||
\section1 Attach to a core file
|
||||
|
||||
To launch the debugger in the core mode:
|
||||
|
||||
\list 1
|
||||
\li Go to \uicontrol Debug > \uicontrol {Start Debugging} >
|
||||
\uicontrol {Load Core File}.
|
||||
\li Go to \uicontrol Debug > \uicontrol {Start Debugging}, and then
|
||||
select \uicontrol {Load Core File}.
|
||||
\image qtcreator-debugger-load-core-file.png
|
||||
\li In \uicontrol Kit, select a build and run kit that was
|
||||
used for building the binary for which the core file was created.
|
||||
@@ -452,8 +456,17 @@
|
||||
the \c sysroot to use instead of the default \c sysroot.
|
||||
\endlist
|
||||
|
||||
Even though using a properly configured project that has the sources of the
|
||||
crashed application is not strictly necessary, it is helpful.
|
||||
For better results, use a properly configured project that has the sources of
|
||||
the crashed application.
|
||||
|
||||
\section1 Attach to the latest core file
|
||||
|
||||
On Linux systems, \QC uses the \c coredumpctl command provided by the
|
||||
\c systemd crash handling to get core files. For more information, see
|
||||
\l {systemd-coredump}.
|
||||
|
||||
To attach to the latest core file, go to \uicontrol Debug >
|
||||
\uicontrol {Start Debugging}, and then select \uicontrol {Load Last Core File}.
|
||||
|
||||
\sa {Debug}{How To: Debug}, {Debugging}, {Debuggers}, {Debugger}, {Kits}
|
||||
*/
|
||||
|
@@ -5,6 +5,10 @@
|
||||
\externalpage https://doc.qt.io/index.html
|
||||
\title Qt Documentation
|
||||
*/
|
||||
/*!
|
||||
\externalpage https://www.freedesktop.org/software/systemd/man/latest/systemd-coredump.html
|
||||
\title systemd-coredump
|
||||
*/
|
||||
/*!
|
||||
\externalpage https://www.perforce.com/manuals/cmdref/Content/CmdRef/P4CONFIG.html
|
||||
\title Perforce: P4CONFIG
|
||||
@@ -233,3 +237,7 @@
|
||||
\externalpage https://www.openssh.com/
|
||||
\title OpenSSH
|
||||
*/
|
||||
/*!
|
||||
\externalpage https://code.qt.io/cgit/qt-creator/qt-creator.git/tree/share/qtcreator/jsonschemas/project.json
|
||||
\title project.json
|
||||
*/
|
||||
|
@@ -56,8 +56,26 @@
|
||||
\uicontrol {Open Workspace}.
|
||||
|
||||
\QC generates the \e .qtcreator/project.json project file in the directory
|
||||
for setting a project name and file exclusion filters. You can open either
|
||||
the JSON file or the workspace to open the project the next time.
|
||||
for setting a project name and file exclusion filters. You can add build and
|
||||
run settings to the file, as defined by its \l{project.json}{JSON schema}.
|
||||
|
||||
You can open either the JSON file or the workspace to open the project the
|
||||
next time.
|
||||
|
||||
When you add files to the directory or remove them from there, the contents
|
||||
of the \l Projects view are updated automatically.
|
||||
|
||||
To add a build configuration to the workspace:
|
||||
|
||||
\list 1
|
||||
\li Go to \uicontrol Projects > \uicontrol {Build & Run} >
|
||||
\uicontrol Build.
|
||||
\li Select \uicontrol Add > \uicontrol Build.
|
||||
\li Specify build settings.
|
||||
\endlist
|
||||
|
||||
To specify run settings for the workspace, go to \uicontrol Projects >
|
||||
\uicontrol {Build & Run} > \uicontrol Run.
|
||||
|
||||
\section1 Re-configure projects
|
||||
|
||||
@@ -123,5 +141,6 @@
|
||||
later. Select the \inlineimage icons/pin.png
|
||||
(\uicontrol Pin) button to pin the progress bar back to the toggle button.
|
||||
|
||||
\sa {Manage Kits}{How To: Manage Kits}, {Kits},
|
||||
\sa {Configure projects for building}, {Configure projects for running},
|
||||
{Manage Kits}{How To: Manage Kits}, {Kits}
|
||||
*/
|
||||
|
@@ -95,7 +95,7 @@
|
||||
\li Add and remove subprojects.
|
||||
\li Find unused functions.
|
||||
\li Search in the selected directory.
|
||||
|
||||
\li View version control system log for the current directory.
|
||||
\li Open a terminal window in the project directory. To specify the
|
||||
terminal to use on Linux and \macos, select \preferences >
|
||||
\uicontrol Environment > \uicontrol System.
|
||||
|
Reference in New Issue
Block a user