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

From: Date: Sat, 23 Jun 2018 14:46:51 +0000
Subject: Req #75659 [Opn->Fbk]: Ability to trigger breakpoint on variable modification
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-215880@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: cmb@php.net Reported by: gadelat at gmail dot com Summary: Ability to trigger breakpoint on variable modification -Status: Open +Status: Feedback Type: Feature/Change Request Package: phpdbg PHP Version: 7.2.0 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Are you looking for watchpoints, which are available in phpdbg? $ phpdbg prompt> help watch Previous Comments: ------------------------------------------------------------------------ [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 (#215880) next »