On Sun, 11 Feb 2007, Mariusz Nowak wrote:
> Since one of last versions xdebug truncates dump of variables content e.g. if
> string has more than x characters than var_dump() output shows only x
> characters and trailing dots.
> Sometimes when I debug with var_dump it prevents me from seeing what I wanted
> to see and I need to go back to 'echo htmlspecialchars($var);' to make sure I
> see all variable's content.
> Feature is ok but when I don't have control over it it becomes annoying. Is
> there any way to set that maximum character length for output?
> I was looking into xdebug options and I didn't notice any that would address
> this issue.
There is one:
http://xdebug.org/docs-settings.php#var_display_max_data
(And I have to admit I just documented it :)
regards,
Derick
-- Xdebug | http://xdebug.org | xdebug-general[@]lists.xdebug.orgReceived on Mon Feb 12 03:55:53 2007
This archive was generated by hypermail 2.1.8 : Tue Jan 06 2009 - 14:00:18 CET