[nemiver/mallard-docs] Add paragraph on core file generation



commit a9c8daa2e6089c804e76a17a19cfc28a0cf3b2b7
Author: Baptiste Mille-Mathias <baptistem gnome org>
Date:   Sat Aug 17 09:42:43 2013 +0200

    Add paragraph on core file generation

 help/C/debug-core-file.page |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)
---
diff --git a/help/C/debug-core-file.page b/help/C/debug-core-file.page
index 7a7758b..a08d1b2 100644
--- a/help/C/debug-core-file.page
+++ b/help/C/debug-core-file.page
@@ -11,7 +11,8 @@
     <title>Debug a program using a core file</title>
 
     <p>This method is to use when a program has already crashed and you need to
-    understand afterwards what happened.</p>
+    understand afterwards what happened. This method requires the crash created
+    a core file.</p>
 
     <p>To debug a core file, choose <guiseq><gui>File</gui>, <gui>Load Core
     Fileā€¦</gui></guiseq>, then a new window appears:</p> <list>
@@ -29,4 +30,17 @@
         introduced the 
         crash.</p>
     </section>
+
+    <section id="permit-core-file">
+        <title>If core file are is generated on program crash?</title>
+
+        <p>If no core file is generated when a program crash, you have to check
+        if there are permitted.</p>
+        <p>Open a terminal, and enter the commande <input>ulimit -c</input>, if
+        the value returned is <output>0</output>, then it means core won't be
+        created.</p>
+        <p>To permit core generation, edit ~/.bashrc file and add a line
+        <code>ulimit -c unlimited</code>, then save and log-out from your
+        session.</p>
+    </section>
 </page>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]