Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Debug output not Flushing
Debug output not Flushing [message #631790] Fri, 08 October 2010 18:33 Go to next message
No real name is currently offline No real nameFriend
Messages: 2
Registered: October 2010
Junior Member
I have setup eclipse helios with zend server CE. I can use the debug module to step through code but no output is displayed to the console window until the script ends. Is there a way to fix output buffering to work properly? My php.ini is setting output_buffering = Off. When I view my phpinfo(), it says the output_buffering = No value, however Implicit_flush = On. Also I have tried manually setting the flush on in the php script using

ob_implicit_flush(TRUE);
echo "Hello World<br>\n";
flush();
echo "Hello World<br>\n";
flush();

Nothing seems to matter.

Using:
Eclipse for PHP Developers
Version: Helios Release
Build id: 20100617-1415
------
PHP Version 5.3.3
Zend Framework Version 1.10.8
Re: Debug output not Flushing [message #631838 is a reply to message #631790] Sat, 09 October 2010 01:52 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
Registered: July 2009
Location: Japan
Senior Member
Try
ob_implicit_flush(TRUE);
ob_end_flush();
echo "Hello World<br>\n";
//flush();
...

see also last comment at http://jp.php.net/manual/en/function.ob-implicit-flush.php
Re: Debug output not Flushing [message #631852 is a reply to message #631790] Sat, 09 October 2010 06:42 Go to previous message
No real name is currently offline No real nameFriend
Messages: 2
Registered: October 2010
Junior Member
I figured it out, something about output_buffering=Off not taking effect. Setting output_buffering=0 in php.ini does work though.
Previous Topic:Newly installed php pdt
Next Topic:missing builder after distribution upgrade
Goto Forum:
  


Current Time: Tue Mar 19 03:18:58 GMT 2024

Powered by FUDForum. Page generated in 0.02306 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top