Req #75659 [NEW]: Ability to trigger breakpoint on variable modification
From: gadelat at gmail dot com
Operating system:
PHP version: 7.2.0
Package: phpdbg
Bug Type: Feature/Change Request
Bug description:Ability to trigger breakpoint on variable modification
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 bug report at https://bugs.php.net/bug.php?id=75659&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75659&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75659&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75659&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=75659&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=75659&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=75659&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=75659&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=75659&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=75659&r=support
Expected behavior: https://bugs.php.net/fix.php?id=75659&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=75659&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=75659&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=75659&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75659&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=75659&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=75659&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=75659&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=75659&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=75659&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=75659&r=mysqlcfg
Thread (3 messages)
- gadelat at gmail dot com