forked from qt-creator/qt-creator
Doc: Describe Debug > Start Debugging > Load Last Core File
Task-number: QTCREATORBUG-31510 Change-Id: I6f974c32f0480f28abb97df1304c6a43ba86154e Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -421,6 +421,8 @@
|
|||||||
generated from crashed processes on Linux and Unix systems if the system is
|
generated from crashed processes on Linux and Unix systems if the system is
|
||||||
set up to allow this.
|
set up to allow this.
|
||||||
|
|
||||||
|
\section1 Get core files
|
||||||
|
|
||||||
To enable the dumping of core files on a Unix system, enter the following
|
To enable the dumping of core files on a Unix system, enter the following
|
||||||
command in the shell from which the application is launched:
|
command in the shell from which the application is launched:
|
||||||
|
|
||||||
@@ -428,11 +430,13 @@
|
|||||||
ulimit -c unlimited
|
ulimit -c unlimited
|
||||||
\endcode
|
\endcode
|
||||||
|
|
||||||
|
\section1 Attach to a core file
|
||||||
|
|
||||||
To launch the debugger in the core mode:
|
To launch the debugger in the core mode:
|
||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Go to \uicontrol Debug > \uicontrol {Start Debugging} >
|
\li Go to \uicontrol Debug > \uicontrol {Start Debugging}, and then
|
||||||
\uicontrol {Load Core File}.
|
select \uicontrol {Load Core File}.
|
||||||
\image qtcreator-debugger-load-core-file.png
|
\image qtcreator-debugger-load-core-file.png
|
||||||
\li In \uicontrol Kit, select a build and run kit that was
|
\li In \uicontrol Kit, select a build and run kit that was
|
||||||
used for building the binary for which the core file was created.
|
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.
|
the \c sysroot to use instead of the default \c sysroot.
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
Even though using a properly configured project that has the sources of the
|
For better results, use a properly configured project that has the sources of
|
||||||
crashed application is not strictly necessary, it is helpful.
|
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}
|
\sa {Debug}{How To: Debug}, {Debugging}, {Debuggers}, {Debugger}, {Kits}
|
||||||
*/
|
*/
|
||||||
|
@@ -5,6 +5,10 @@
|
|||||||
\externalpage https://doc.qt.io/index.html
|
\externalpage https://doc.qt.io/index.html
|
||||||
\title Qt Documentation
|
\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
|
\externalpage https://www.perforce.com/manuals/cmdref/Content/CmdRef/P4CONFIG.html
|
||||||
\title Perforce: P4CONFIG
|
\title Perforce: P4CONFIG
|
||||||
|
Reference in New Issue
Block a user