View Issue Details

IDProjectCategoryView StatusLast Update
0000602XdebugUsage problems (Wrong Results)public2010-08-13 08:24
ReporterWebDevHoboAssigned Toderick 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionno change required 
Product Version2.1.0 
Target VersionFixed in Version 
Summary0000602: Netbeans debugger, all variables remain uninitialized.
DescriptionI'm using Netbeans 6.9 with PHP, using Xdebug 2.1.0 5.3 VC6 and PHP 5.3.1

I've been using Netbeans since 6.5 and Xdebug since 2.0.1 and have never had this problem until now.

Whenever I start a debug session, all variables remain uninitialized, except for the Superglobals and $this-> variables.

Watches also work. If I add a watch for a variable, it will correctly be shown, yet the normal display will keep saying it is uninitialized.
Additional InformationHere's a screenshot: http://imgur.com/Lylas.png

As can be seen: the watch indicates the value, while the normal display keeps saying it's still uninitialized. So my question: is this an Xdebug or a Netbeans issue.

Either way, the prospect of having to add a watch for every single variable I might want to check at some point, is not something I look forward to.
TagsNo tags attached.
Operating SystemWindows 7
PHP Version5.3.1

Activities

WebDevHobo

2010-07-30 15:56

reporter   ~0001551

I think I've solved it now. I found this page while doing a Bing search: http://xdebug.org/find-binary.php


And followed the instructions. The php.ini file that WAMP edits for you is actually not the c:\wamp\bin\php\php5.3.x\php.ini file, but the one in the c:\wamp\bin\apache2.2.x\ folder.

After editing this one, everything worked.

derick

2010-08-13 08:24

administrator   ~0001554

k, closing then.

Issue History

Date Modified Username Field Change
2010-07-30 12:46 WebDevHobo New Issue
2010-07-30 12:46 WebDevHobo Operating System => Windows 7
2010-07-30 12:46 WebDevHobo PHP Version => 5.3.1
2010-07-30 12:46 WebDevHobo Xdebug Version => 2.1.0
2010-07-30 15:56 WebDevHobo Note Added: 0001551
2010-08-13 08:24 derick Note Added: 0001554
2010-08-13 08:24 derick Status new => resolved
2010-08-13 08:24 derick Resolution open => no change required
2010-08-13 08:24 derick Assigned To => derick
2016-07-31 12:36 derick Category Usage problems => Usage problems (Crashes)
2016-07-31 12:38 derick Category Usage problems (Crashes) => Usage problems (Wrong Results)