Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121036 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 21294 invoked from network); 11 Sep 2023 07:20:04 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 11 Sep 2023 07:20:04 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 6FA15180083 for ; Mon, 11 Sep 2023 00:20:03 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NEUTRAL, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS29169 217.70.176.0/20 X-Spam-Virus: No X-Envelope-From: Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 11 Sep 2023 00:20:02 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id 3E0971C0010 for ; Mon, 11 Sep 2023 07:20:00 +0000 (UTC) Message-ID: <056caf5c-2b34-f1c5-0f6c-bc87894806c0@php.net> Date: Mon, 11 Sep 2023 09:20:00 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 To: PHP internals Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-GND-Sasl: contact@ll-experts.com Subject: Bad debug build usage From: remi@php.net (Remi Collet) 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