Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Text getting lost on the way to Console
Text getting lost on the way to Console [message #305125] Fri, 23 June 2006 10:41 Go to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi,

I have implemented an application-specific Console using the
MessageConsole class and it's newOutputStream method to get new output
streams, which I wrap into PrintStreams for convenience. My problem is
that occasionally, text sent to the console via the print() and
println() methods of my print-streams gets lost and never appears in the
console.

I guess it has something to do with the console being asynchronous. I
have tried synchronizing all my methods (just in case :) ) but the
problem persists. Any ideas?

Cheers,
Dimitrios
Re: Text getting lost on the way to Console [message #305127 is a reply to message #305125] Fri, 23 June 2006 10:45 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
In case it makes any difference I am using Eclipse 3.1 on WinXP

Dimitrios Kolovos wrote:
> Hi,
>
> I have implemented an application-specific Console using the
> MessageConsole class and it's newOutputStream method to get new output
> streams, which I wrap into PrintStreams for convenience. My problem is
> that occasionally, text sent to the console via the print() and
> println() methods of my print-streams gets lost and never appears in the
> console.
>
> I guess it has something to do with the console being asynchronous. I
> have tried synchronizing all my methods (just in case :) ) but the
> problem persists. Any ideas?
>
> Cheers,
> Dimitrios
Previous Topic:Redo menu item not displayed in AbstractTextEditor
Next Topic:Survey for distributed pair programming
Goto Forum:
  


Current Time: Thu Mar 28 21:34:25 GMT 2024

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

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

Back to the top