Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333057 - Variables view doesn't show new value of object variable
Summary: Variables view doesn't show new value of object variable
Status: CLOSED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP Debug CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-22 00:35 EST by Toshihiro Izumi CLA
Modified: 2020-05-14 11:07 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.