cvs: php-bugs-web / bugs-generating-backtrace.php

[email protected] ("Hannes Magnusson")
Newsgroups php.webmaster
Message-ID <cvsbjori1226800568@cvsserver>
bjori		Sun Nov 16 01:56:08 2008 UTC

  Modified files:              
    /php-bugs-web	bugs-generating-backtrace.php 
  Log:
  Add howto generate backtrace from the commandline
  
  
http://cvs.php.net/viewvc.cgi/php-bugs-web/bugs-generating-backtrace.php?r1=1.4&r2=1.5&diff_format=u
Index: php-bugs-web/bugs-generating-backtrace.php
diff -u php-bugs-web/bugs-generating-backtrace.php:1.4 php-bugs-web/bugs-generating-backtrace.php:1.5
--- php-bugs-web/bugs-generating-backtrace.php:1.4	Sun Nov 16 01:20:44 2008
+++ php-bugs-web/bugs-generating-backtrace.php	Sun Nov 16 01:56:07 2008
@@ -71,7 +71,19 @@
   <ul>
   <li><code>(gdb) bt</code></li>
   </ul>
-</li>
+  <ul>
+   <li>or, running from the commandline
+    <ul>
+     <li>gdb /home/user/dev/php-snaps/sapi/cli/php
+      <ul>
+       <li><code>(gdb) run /path/to/script.php</code></li>
+       <li><code>(gdb) bt</code></li>
+      </ul>
+     </li>
+    </ul>
+   </li>
+  </ul>
+ </li>
 </ul>
 
 <p>This should generate a backtrace, that you should submit in
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.