[xdebug-general] Re: Binary values corrupting terminal

From: Sean Coates <sean[@]caedmon.net>
Date: Sat, 14 Oct 2006 10:26:20 -0400

Marcus Bointon wrote:
> If I get a PHP error and xdebug displays local variables, and one of
> those variables contains something binary like an image, I usually find
> that it corrupts the terminal, turning all text in the terminal into
> gibberish, presumably because the binary data contains terminal escape
> sequences. I have to kill the terminal and reopen it to restore
> readability. Can the output be somehow escaped to avoid this?

I don't know about escaping, but you don't need to actually kill the
terminal if you use [reset].

S
Received on Sat Oct 14 2006 - 16:26:32 BST

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