View Issue Details

IDProjectCategoryView StatusLast Update
0000514XdebugStep Debuggingpublic2020-03-12 16:51
Reporterlsmith Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionwon't fix 
Product Version2.0.0dev 
Summary0000514: being able to set a "watch" on a variable modification
Description

I would like to see support in IDE's for triggering a break point based on modification of a specific variable/class property.

TagsNo tags attached.
Operating System
PHP Version5.3.2

Activities

mixologic

2014-04-01 05:43

reporter   ~0002778

Is this still valid? I see this:

watch expression break on write of the variable or address defined by the expression argument

in the documentation here:
http://xdebug.org/docs-dbgp.php#breakpoints

Though I see this in the code: XDEBUG_ERROR_BREAKPOINT_TYPE_NOT_SUPPORTED

Are break on Variable changes supported?

derick

2016-12-11 14:23

administrator   ~0003990

In PHP, this would mean watching a specific memory location, and that can not be done in a safe way.