View Issue Details

IDProjectCategoryView StatusLast Update
0000514XdebugStep Debuggingpublic2020-03-12 16:51
Reporterlsmith Assigned Toderick  
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.

Issue History

Date Modified Username Field Change
2010-01-05 13:45 lsmith New Issue
2010-01-05 13:45 lsmith PHP Version => 5.3.2
2010-01-05 13:45 lsmith Xdebug Version => 2.1.0beta1
2014-04-01 05:43 mixologic Note Added: 0002778
2016-12-11 14:23 derick Note Added: 0003990
2016-12-11 14:23 derick Status new => resolved
2016-12-11 14:23 derick Resolution open => won't fix
2016-12-11 14:23 derick Assigned To => derick
2020-03-12 16:51 derick Category Feature/Change request => Step Debugging