aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@nokia.com>2011-08-16 13:51:42 +0200
committerhjk <qthjk@ovi.com>2011-08-16 16:05:21 +0200
commit6a5dc753086d206d2638f04f6e3203c7787f1e90 (patch)
tree539076eed39d055eb818ee5a892022d7a3cc657a
parentf2a33a5927f6193105d79c25f2b8411653f3e8c3 (diff)
Doc: generating core files while debugging
Task-number: QTCREATORBUG-5740 Change-Id: I5426cb5adfc3943416c9fc24f86f54045784629e Reviewed-on: http://codereview.qt.nokia.com/3010 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: hjk <qthjk@ovi.com>
-rw-r--r--doc/qtcreator-faq.qdoc12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/qtcreator-faq.qdoc b/doc/qtcreator-faq.qdoc
index 75226113704..1c8f48e0402 100644
--- a/doc/qtcreator-faq.qdoc
+++ b/doc/qtcreator-faq.qdoc
@@ -136,6 +136,18 @@
For more information on setting up debugger, see \l{Setting Up Debugger}.
+ \bold {How do I generate a core file in Qt Creator?}
+
+ To trigger the GDB command that generates a core file while debugging,
+ select \gui {Window > Views > Debugger Log}. In the \gui Command field,
+ type \c gcore and press \key Enter. The core file is created in the
+ current working directory. You can specify another location for the file,
+ including a relative or absolute path, as an argument of the command.
+
+ To generate a temporary core file, select \gui {Create Snapshot} in the
+ context menu in the \gui Snapshot view. The core file is deleted when you
+ stop debugging.
+
\section1 Code Editor Questions
\bold {How can I get code-completion to work on the standard headers and