Opened 15 years ago

Closed 14 years ago

#21334 closed defect (fixed)

php5-xdebug 2.0.4_0 Blank variable values

Reported by: chrswllms@… Owned by: emory.smith@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: php xdebug Cc: ryandesign (Ryan Carsten Schmidt)
Port: php5-xdebug

Description

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.

Change History (3)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to emory.smith@…

comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Sounds like this upstream bug. They claim it's fixed in their repository, I believe in r3115. Not sure if that can be backported easily to 2.0.x. If not, we'll just have to wait for a new version including this fix to be released.

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

php5-xdebug has been updated to version 2.1.0; see #25743. So this should be fixed.

Note: See TracTickets for help on using tickets.