Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322332 - expression view fails when debugging 4d arrays
Summary: expression view fails when debugging 4d arrays
Status: CLOSED INVALID
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: PHP Debug CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-11 06:22 EDT by michel kollenhoven CLA
Modified: 2020-05-14 11:24 EDT (History)
3 users (show)

See Also:


Attachments
stack trace (4.05 KB, text/plain)
2010-08-11 06:24 EDT, michel kollenhoven CLA
no flags Details
screen shot (200.43 KB, image/jpeg)
2010-08-11 06:24 EDT, michel kollenhoven CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description michel kollenhoven CLA 2010-08-11 06:22:24 EDT
Build Identifier: Eclipse 1.3.0.20100617-0520 (org.eclipse.epp.package.php.product)

note this is only in expressions

will attach stack trace and screen shot


Reproducible: Always

Steps to Reproduce:
1. type '$test = array(array(array(array("cant tutch me"))));' in a php file
2. debug over it 
3. add '$test' as new expession
4. expand $test 4 times
5. the last one the 4th dymention is not expandble in expressions view(on try error)
Comment 1 michel kollenhoven CLA 2010-08-11 06:24:05 EDT
Created attachment 176319 [details]
stack trace

the stack trace
Comment 2 michel kollenhoven CLA 2010-08-11 06:24:54 EDT
Created attachment 176320 [details]
screen shot

screen shot of the falure
Comment 3 David Kelsey CLA 2010-08-11 06:52:46 EDT
Watch expressions cannot obtain any more information once the request has been made. So if you have only specified a max array depth of 3, then that is all you will get back. It is not possible to request any more information from xdebug relating to that expression.

If you want to look at deeper array depths in a watch expression then you need to increase the max array depth in the xdebug properties.

Hope this helps.
Comment 4 David Kelsey CLA 2010-08-11 06:53:30 EDT
I don't believe the stack trace is relevant to this siutation. On recreating the issue raised I was not able to create the stack trace.
Comment 5 michel kollenhoven CLA 2010-08-12 18:06:09 EDT
hmm...
xdebug docu states:

(http://www.xdebug.org/docs/all_settings#var_display_max_depth)
This setting does not have any influence on the depth of children that is send to the client through the Remote Debugging feature

i will report to xdebug later
Comment 6 David Kelsey CLA 2010-08-13 06:05:41 EDT
You are right it doesn't have anything to do with remote debugging. The option you need to change is configured in the preferences of pdt itself. 
See the xdebug 2.0 guide at.
http://www.eclipse.org/pdt/docs.php
Comment 7 Gadi Goldbarg CLA 2010-08-20 09:28:59 EDT
I close it as 'Invalid'.
Kalin Yanev
kalin.a@zend.com