Date: 10/29/00
- Next message: rasmus <email protected>: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/printer php_printer.h printer.c printer.dsp /win32 php_modules.dsw"
- Previous message: Lee Davis: "[PHP-DEV] Re: PHP 4.0 Bug #6742 Updated: mail function fails"
- In reply to: Zeev Suraski: "Re: [PHP-DEV] Stacktrace in errormessages"
- Next in thread: Zeev Suraski: "Re: [PHP-DEV] Stacktrace in errormessages"
- Reply: Zeev Suraski: "Re: [PHP-DEV] Stacktrace in errormessages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, Oct 29, 2000 at 10:34:23AM +0200, Zeev Suraski wrote:
> >I would like to have php include a stacktrace in errormessages to easy
> >debugging.
> >
> >I've tried modifying zend to do this, but it didn't work :(
>
> Doing this would significantly slow runtime performance, which is why it
> wasn't done in the first place...
Huh?
The function_call_stack is maintained every time the user enters / exits
a function, right?
And actually creating the stacktrace from this datastructure should take
a few ms, but only when there is an error, right? I'm sure nobody minds
if their php's _fail_ a little bit slower?
If, however, there was an performance impact, maybe it could be a
configuration-option? or a compile option? I guess most people that need
high performance (and would need to turn it off) have dedicated
development boxes.
Did you look at my patch? Is it not possible to do it this way, or was
there just a small glitch in my code?
-- Ragnar Kjørstad Modus Media-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: rasmus <email protected>: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/printer php_printer.h printer.c printer.dsp /win32 php_modules.dsw"
- Previous message: Lee Davis: "[PHP-DEV] Re: PHP 4.0 Bug #6742 Updated: mail function fails"
- In reply to: Zeev Suraski: "Re: [PHP-DEV] Stacktrace in errormessages"
- Next in thread: Zeev Suraski: "Re: [PHP-DEV] Stacktrace in errormessages"
- Reply: Zeev Suraski: "Re: [PHP-DEV] Stacktrace in errormessages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

