Listing Display
Bug Id ?
225
Reporter ?
jaredgeorge
Product/Version ?
MacGDBp / 1.4.1
Status ?
Closed
Severity ?
Major
Duplicate Of ?
- none -
Fixed in Revision ?
Mstone ?
Summary ?
Variable Inspector Limited To 1024 Characters
Report Time ?
June 30, 2011 07:39 PM
Assignment ?
Robert
Resolution ?
Fixed
Priority ?
Normal
Dependencies ?
- none -
Mstone (old) ?


Attachments
phpinfo_xdebug.txt phpinfo for xdebug
Votes
For: 2 (100%)
Against: 0 (0%)
Total: 2

June 30, 2011 07:39 PM jaredgeorge
It looks like the variable inspector will only display a maximum of 1024 characters. Are you able to replicate that? If so, any way to increase that? I often inspect very large strings (like SQL statements or dynamic HTML content). I also noticed that large arrays have a limit to the number of indices I can inspect (looks like you already know about the array issue in bug #212).

I tried to increase xdebug.var_display_max_data, *_depth, *_children, etc. but it doesn't seem to help. Thanks!

June 30, 2011 07:44 PM jaredgeorge
Attached is my phpinfo for the xdebug binary that I'm loading in MAMP.

December 14, 2012 12:37 AM Drew J. Sonne
I'm also getting exactly a max of 1024 characters. I've also tried the configuration options here here, and have found no change.

January 29, 2019 09:29 AM outis
This is most likely due to XDebug's `max_data` feature (https://xdebug.org/docs-dbgp.php#feature-names). It can be changed via the `feature_set` DBGP command; as far as I'm aware, that's the only way.

March 14, 2026 01:57 PM Robert

On March 14, 2026 01:57 PM, Robert changed: