| View previous topic :: View next topic |
| Author |
Message |
lausianne
Joined: 12 Oct 2009 Posts: 1
|
Posted: Mon Oct 12, 2009 9:45 am Post subject: xdebug: output only appears after run completed |
|
|
Hi,
after a day of work, lots of try and error, many forums etc. I finally got Netbeans to work with XDebug.
For testing I use this code:
| Code: | <?php
for ( $i=1; $i<10; $i++) {
echo "<br>Line $i";
}
?>
|
Starting the debugger (Local Web Site) opens Firefox, the page starts loading, no output, debugger starts in Netbeans. Fine, so far.
Stepping through the code, I can watch the variable. But: There is no output in Firefox until the program has finished. Then I get the complete output all at once. How can I get each single line to be displayed right away?
I tried to run as script with the default interpreter. Debugger doesn't start at all.
Thanks for your help!
Cheers, Ralf. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|