[xdebug-general] Re: Truncated dump

From: Derick Rethans <derick[@]xdebug.org>
Date: Sun, 11 Feb 2007 18:55:53 -0800 (PST)

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.org
Received on Mon Feb 12 2007 - 03:55:53 GMT

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST