Bad debug build usage
| From: | Remi Collet | Date: | Mon, 11 Sep 2023 07:20:00 +0000 |
| Subject: | Bad debug build usage | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-121036@lists.php.net to get a copy of this message | ||
Hi,
According to https://bugs.php.net/bugs-generating-backtrace.php
To get a backtrace with correct information you must have PHP configured with --enable-debug!This seems wrong. Of course you can use GDB against any build of PHP Result: for some time, I noticed people asking about issues in debug build, when they don't need such build. IMHO, debug builds are for PHP and extensions developers as this mode add more checks (assert) but is not suitable for other usages. Remi