Array children inspection limited to 32 child elements
See original GitHub issueWhen inspecting an array you are unable to see the total number of child elements if it exceeds 32. (As is often the case in drupals render arrays).
I have checked my xdebug settings and the xdebug.var_display_max_children=128 but im happy to look anywhere else you’d like to confirm proper setup as well.
Test code I confirmed it with:
<?php
$test = array();
for($i=0;$i<100;$i++) {
$test[] = $i;
}
count($test);
Actual result: array inspector shows 32 children Expected result: Should show all 100
Issue Analytics
- State:
- Created 11 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Element.children - Web APIs - MDN Web Docs
The read-only children property returns a live HTMLCollection which contains all of the child elements of the element upon which it was ...
Read more >Putting the children of a section into an array - Stack Overflow
1 Answer 1 ; // Create the array of objects let ; // array to hold the elements // Get the images(elements) ;...
Read more >AFI34-144 - Air Force - AF.mil
Implements policy on direct cash subsidies to DoD designated child care providers to expand the availability of child care spaces and meet ...
Read more >Scope of Attention, Control of Attention, and Intelligence in ...
Estimates of adults' and children's working memory capacity for items in visual arrays of different set sizes (x axis), based on the capacity...
Read more >Child care licensing handbook : facility-based programs
The following items must be posted in a clearly visible and prominent place: the licence (including probationary licence), inspection reports, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Completely understood! Sorry for the misunderstanding. Don’t worry about bringing a support question - where else are you going to be able to get support for Vdebug anyway? 😛
You’ve raised a point actually - I think I need to add something to check whether the
g:vdebug_featuresdictionary has already been initialized, so you can use:At the moment that won’t work if Vdebug gets loaded afterwards, as the dictionary will get overwritten. I’ll make that the focus of this issue.
Cheers
This particular example of array truncating is worth adding to FAQ - it may save time someone. I just spent 20 minutes trying to find
$_SERVER['REQUEST_URI'].My english is too poor to add my own patch 😉.