Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 333057

Summary: Variables view doesn't show new value of object variable
Product: z_Archived Reporter: Toshihiro Izumi <euthanasia_waltz>
Component: PDTAssignee: PHP Debug <php.debug-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P2 CC: zulus
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Toshihiro Izumi CLA 2010-12-22 00:35:08 EST
Steps to reproduce:
1. Edit script as
<?php
class Foo {
    var $s;
}
$o=new Foo();
$o->s="test";
echo $o->s;
?>
2. Add breakpoint onto "echo $o->s;"
3. Start debugging
4. When stopped at breakpoint, change value of $o->s
 => Value of $o->s in Variables view is not changed to new value
5. Resume
 => New value appears on Debug Output view

Changing value does work but Variables view doesn't show it.
Comment 1 Toshihiro Izumi CLA 2010-12-22 00:41:19 EST
with ZendDebugger.
Xdebug doesn't have this issue.
Comment 2 Dawid Pakula CLA 2020-01-21 12:39:10 EST
Zend Debugger is discontinued. Last release is for no longer maintained PHP 7.0.