| Summary: | [console] Race condition between writing to console and clearing console? | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Dennis Hendriks <dh_tue> |
| Component: | Debug | Assignee: | Platform-Debug-Inbox <platform-debug-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | dh_tue, john.ruud, paul-eclipse, pawel.1.piech, remy.suen |
| Version: | 3.6 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Dennis Hendriks
Issues with the 'Console' view goes to Debug. I ran into a similar/possibly identical race condition with Eclipse 4.3.2 when doing: MessageConsole.clearConsole() + MessageConsoleStream.print().
The workaround was to clear the console by running code similar to what's in one of superclasses: TextConsole.clearConsole() (but that might need to run in the UI thread):
public void clearConsole() {
IDocument document = getDocument();
if (document != null) {
document.set(""); //$NON-NLS-1$
}
}
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. If the bug is still relevant, please remove the stalebug whiteboard tag. *** Bug 323814 has been marked as a duplicate of this bug. *** Comment 2 is a duplicate of bug 365770. For comment 0, Console had some major changes at least last year. I assume it is fixed. *** This bug has been marked as a duplicate of bug 365770 *** |