Missing Local Variables in Debug

When I debug any test in PhpStorm 1.0.1 or 1.0.2, everything works correctly, except I am missing all local variables in the Variables window. I see $this and all globals, but no local variables. I can watch each local variable individually or hover and expand on them in the main window, and that works correctly, showing me the contents, but that is obviously a pain. Am I missing anything? I do have the top frame selected in the Frames window.

2 comments
Comment actions Permalink

Hello Steve,

It looks like an Xdebug problem: see http://youtrack.jetbrains.net/issue/WI-2168. So my suggestion is to update to newer Xdebug version.

Reagrds,
Kirill

PS Please note that latest Xdebug version available from the site may be unstable: see http://youtrack.jetbrains.net/issue/WI-2474.

0
Comment actions Permalink

Yep, sure enough I was on Xdebug 2.0.5. I upgraded to 2.1.0 and problem solved. Also, I noticed it runs significantly faster loading variables and moving from line to line, but YMMV. Thanks!

0

Please sign in to leave a comment.