New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #21334 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

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@…
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

comment:1 Changed 4 years ago by macsforever2000@…

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

comment:2 Changed 3 years ago by ryandesign@…

  • 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 3 years ago by ryandesign@…

  • Status changed from new to closed
  • Resolution set to fixed

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.