Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 317103

Summary: When remote debugging with Zend Framework, local variables in method appear as uninitialized after assignment
Product: z_Archived Reporter: Dan <DanzillaS>
Component: PDTAssignee: PHP Debug <php.debug-inbox>
Status: CLOSED NOT_ECLIPSE QA Contact:
Severity: normal    
Priority: P3 CC: d_kelsey, petyo_tanchev
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Dan CLA 2010-06-16 14:54:56 EDT
Build Identifier: 20090619-0625

Remote debugging (Apache, Ubuntu 10.04, PHP 5.3.2-1ubuntu4.2 with Suhosin-Patch (cli), Zend Framework 1.8,  Xdebug v2.0.5) from local Windows Eclipse installation
In view "Variables" "$this" is correctly populated but method's local variables 
remain as uninitialized, e.g. "$electronic	uninitialized	<Uninitialized>	uninitialized"
By using View "Expression" one can see ""$electronic" = Zend_Db_Select"	
	


Reproducible: Always

Steps to Reproduce:
1. Configure the remote configuration as described
2. Create a class (for web page debugging) having also local variables 
in a method
3. Breakpoint after assignment, verify the mentioned views
Comment 1 Dan CLA 2010-06-25 11:45:36 EDT
CORRECTION
Same behavior is present under Netbeans 6.9 ; it appears that the issue is 
related to Xdebug (communicating with the IDE)
Comment 2 Dan CLA 2010-06-25 12:34:37 EDT
ADDITIONAL INFORMATION
It appears to be an Ubuntu / PHP packages issue
https://bugs.launchpad.net/ubuntu/+source/xdebug/+bug/545502
Comment 3 Dan CLA 2010-06-25 13:40:51 EDT
CORRECTION
Same behavior is present under Netbeans 6.9 ; it appears that the issue is 
related to Xdebug (communicating with the IDE)
Comment 4 David Kelsey CLA 2010-07-13 05:50:47 EDT
Dan has confirmed the issue is with xdebug rather than PDT. changed to Resolved
Comment 5 Petyo Tanchev CLA 2010-09-01 03:43:59 EDT
Confirmed by the reporter as non PDT issue.
Closing.