Re: howto do a backtrace on windows?

From: Date: Tue, 22 Mar 2005 18:17:30 +0000
Subject: Re: howto do a backtrace on windows?
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-25783@lists.php.net to get a copy of this message
actually, this isn't related to the php language itself, but more to the code beneath it ;) Since the entire php/apache process segfaults (according to the logs), I can't do a debug_backtrace() from within php :) - tul Jason Barnett wrote:
Use cygwin / gcc?!?! :P Is debug_backtrace() unable to give you what you want? <?php $old_err = set_error_handler('bt_handler'); trigger_error(); restore_error_handler(); function bt_handler($type, $msg, $file, $line) { return debug_backtrace(); } ?> -- Teach a man to fish... NEW? | http://www.catb.org/~esr/faqs/smart-questions.html STFA | http://marc.theaimsgroup.com/?l=php-general&w=2 STFM | http://php.net/manual/en/index.php STFW | http://www.google.com/search?q=php LAZY | http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins


« previous php.windows (#25783) next »