Re: Stacktrace in errormessages
| From: | André Langhorst | Date: | Mon, 30 Oct 2000 16:45:51 +0000 |
| Subject: | Re: Stacktrace in errormessages | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-36452@lists.php.net to get a copy of this message | ||
Stanislav Malyshev wrote:
AL>> c) error stacks AL>> d) ... AL>> in debug versions only? would not hurt performance and make debugging a AL>> lot easier... Here we mix two debug modes. First is PHP debug mode, needed for debugging of PHP itself, and second - mode for debuging PHP scripts. Generally, they should not be dependant, and they can be completely ortogonal.sure, intended it was... there is no mode for debugging PHP scripts (did I miss sth?), thus we could use an already existing debug flag (similar how crash() etc. are implemented ((they only work in zend_debug builds)), except the type of changes would be different) debug and release builds *should* be replaceable by each other (disregarding speed drain), why not use them? of course it would be much better to have an additional PHP debug mode... but that would perhaps need more time and thinking... andré