Bug 520278 - Console bug
Summary: Console bug
Status: CLOSED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 4.7   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2017-07-27 16:05 EDT by Dipanshu Sehjal CLA
Modified: 2019-12-10 17:31 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dipanshu Sehjal CLA 2017-07-27 16:05:00 EDT
Printing in console is buggy. Sometimes lines are printed in the same line without any shift to new line. For e.g. in command line output is :

Calling e1 in True is illegal
Calling e2 in True is illegal
size: 1
isConstant: true
evaluate: true
String: True

But in Eclipse output is:
Calling e1 in True is illegalsize: 1

Calling e2 in True is illegal
isConstant: true
evaluate: true
String: True



+++++++++
Please fix the code for console
Comment 1 Andreas Sewe CLA 2017-07-28 03:15:20 EDT
Hi Dipanshal,

thank you for the bug report.

Can you please describe the circumstances under which this occurs a bit more? Do you have the cursor position within the console window? Have you accidentally entered a character (including RETURN) while in the console window? (This would explain the extra line break.)

At any rate, the Code Recommenders project, for which you have filled this bug, has nothing to do with the Console. Hnece, I've reassigned this bug to the Platform project.
Comment 2 Sarika Sinha CLA 2017-07-31 02:42:58 EDT
Yes, we will need more details to be able to reproduce the bug.
Please provide a sample code and the steps.
Comment 3 Eclipse Genie CLA 2019-12-10 16:53:49 EST
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.

--
The automated Eclipse Genie.
Comment 4 Paul Pazderski CLA 2019-12-10 17:31:55 EST
Without further information I can only guess. This is most likely a synchronization problem between stderr and stdout.
The first two 'illegal' lines might be error output and the third 'size' line standard output.

This can be avoided using the new launch option added in 4.13 with bug 32205.