Ticket #21334 (closed defect: fixed)
php5-xdebug 2.0.4_0 Blank variable values
|Reported by:||chrswllms@…||Owned by:||emory.smith@…|
Not sure if this is related to Snow Leopard or not but I just upgraded to 10.6 and ended up re-installing MacPorts from scratch. Using php with php5-xdebug, when debugging and stepping through the code, I can't see values for variables. In Eclipse, I see the variable names and <undefined> for all variables. In NetBeans, I see no variables except for $this.
This was working with my old MacPorts setup under 10.5 and I know I had to use an older version of xdebug with PHP 5.3 when I set that up because I was seeing the same issue. On my current setup, I've now tested under all of the following:
php5-xdebug @2.0.3_1 php5-xdebug @2.0.4_0 (active) php5-xdebug @2.0.4_1 php5-xdebug @2.0.5_0
For each one, I can verify that the correct xdebug version is being used from phpinfo.