Req #75659 [Fbk->NoF]: Ability to trigger breakpoint on variable modification

From: Date: Sun, 01 Jul 2018 04:22:22 +0000
Subject: Req #75659 [Fbk->NoF]: Ability to trigger breakpoint on variable modification
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-216054@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75659&edit=1 ID: 75659 Updated by: php-bugs@lists.php.net Reported by: gadelat at gmail dot com Summary: Ability to trigger breakpoint on variable modification -Status: Feedback +Status: No Feedback Type: Feature/Change Request Package: phpdbg PHP Version: 7.2.0 Assigned To: cmb Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2018-06-23 14:46:51] cmb@php.net Are you looking for watchpoints, which are available in phpdbg? $ phpdbg prompt> help watch ------------------------------------------------------------------------ [2017-12-09 17:21:20] gadelat at gmail dot com Description: ------------ Seems there is currently no way to do this with PHP debuggers. Xdebug nor phpdbg nor Zend debuggers support this. Xdebug issue regarding this was closed with resolution "won't fix", because "In PHP, this would mean watching a specific memory location, and that can not be done in a safe way.", see https://bugs.xdebug.org/view.php?id=514 If the quote is correct, this feature request is about implementing a way in PHP core which allows to implement this feature in debuggers easier. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=75659&edit=1

« previous php.bugs (#216054) next »