[xdebug-general] Re: AW: xdebug base64 encoding wrong

From: Derick Rethans <derick[@]xdebug.org>
Date: Thu, 5 Jan 2012 11:36:01 +0000 (GMT)

(top-posting kills kittens)

On Thu, 5 Jan 2012, Motyka, Axel wrote:

> Von: Derick Rethans [mailto:derick[@]xdebug.org]
>
> > On Wed, 4 Jan 2012, Motyka, Axel wrote:
> >
> > > I added an error in my php script and hoped to see the stdout in
> > > eclipse. But it is not readable. So i added a xdebug.log:
> > >
> > > <- run -i 103
> > > -> <stream xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" type="stdout" encoding="base64"><![CDATA[H4sIAAAAAAAAA6SUy27jIBSG93kK5E07kmODb0m8SNWLRuosZlNNFzOqLGLTFJWAB3AvivLuAySO3aTJtDNe2MfH8P3/wQcG34WmJcnBD16Re8pJBZ6wpHjGTK7hj1w8c0A5CEWtQ1zXYcUUHc4aZYYqFTI6k1i+hldMhbdReNHmb155GdQPNRAcMJMCSTQYXGLGwI3G5WM+AOaCAURpZCOAUDTOEhsEYLnAlK9OvxzSrJsZo2VIjeEXq5FDR4uDeJxMNrQRdLQoAJL8bqgkpycHaCZjaFhTwQ2Saks8+bh2PNmIJwlypSQoG8NJ5nLgJ+FVcd4pDKey4Ycre89LHh2RSPYligshtNIS1130F9n2J1pU2EOtC8yyTj5+K59u5C8F11IwRmTxVZp4OK2oqrEuH07Pzs58YG6fFg+37rvIGZqMtn7SzPlJU5Q5P9m+n6uNEROazuMVltU/u+uwoStzbSdNWj8pHDk/pg3jDJpotO/nvFz3Qd/Cp9W7osK2qHWrTNLOy7j1kiG7NuMA3BD5ZPZ6BxpOXSOvPX2wP3o21vOccoriVjlLkY3SkdncbndPAmCOh+I2KtrjobDHw3A6J/qbaCTHbOPg2Fr090a59WBOmt2inB/TooPB0pNENUx7+dKjmiyUl/9aethpXVdejqLE37x6uYcrz/eIobxeV3YkgvDO9zSWxqYdDX2Pk2cb8Yaxlf+WlB4lIR/B6BO0rEcj+7Q3JDv/KGzUg0n+n7BxD1bWx2FmBbcsBONd1KSHWjztoqKDqHdsxbBf4+I4a7/GO/v6os97QLTyPaWxblQpKmKo0FyWK6WQLWPOxAwz216lbT03XRXmsSDtEI3nOxn1gE1b7uS0kHhO3k+Sl5KQyrRBfo+ZIt2HucTl3ufV6g8AAAD//wMAIEguQtMHAAA=]]></stream>
> > >
> > > The logged CDATA is not decodable!
> > >
> > > What might be wrong here?
> > > What can i do?
> >
> > What I think is that it's possible that it's gzip'ed? Do you use
> > some gzip or anything? Are there other stdout bits perhaps in the
> > remote log?
>
> thanks for your help. It is gzipped!
>
> But how can i deactivate this - or how can it be handled by eclipse or
> netbeans?

Something in your application (or framework) will activate it. It could
be the ob_gzhandler (http://php.net/manual/en/function.ob-gzhandler.php)
or zlib.output_compression
(http://www.php.net/manual/en/zlib.configuration.php#ini.zlib.output-compression).
You will need to figure out what activates it, and then make sure it
doesn't.

AFAIK, netbeans and eclipse can't handle this at all.

cheers,
Derick

-- 
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
twitter: @derickr and @xdebug
Received on Thu Jan 05 2012 - 11:36:01 GMT

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