From: Zach Dennis Date: 2004-09-17T23:19:09+09:00 Subject: Re: Debugging wxruby programs. Mehr, Assaph (Assaph) wrote: >>ly, even if it does start, I can't use 'print' to print >>out debugging statements to help me find out where I got to and what >>went wrong (OK, I can open an auxilliary window and write to that, but >>I could lose that window if the app dies). >> >> > >That sounds weird. I have no problem writing to stdout from within a >wxRuby app. In fact I used it frequently until I integrated Log4R in the >app. > I have seen this problem when running inside of some editors like Eclipse. Once you exit the application it prints all of the text. I have always called $stdout.flush after any debugging "puts". Is there a way to genericaly tell $stdout not to buffer? Zach