Bug 547393 - Strings longer than 3645 chars are not printed in console, nor showed in debug Inspect
Summary: Strings longer than 3645 chars are not printed in console, nor showed in debu...
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 4.12   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-16 10:37 EDT by Vincenzo Caselli CLA
Modified: 2023-04-30 06:05 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincenzo Caselli CLA 2019-05-16 10:37:54 EDT
Running the following simple code:

public class Test {
//	private static final int N = 3640; //Shows in console and in debug inspect
	private static final int N = 3645; //Nothing in console and in debug inspect

	public static void main(String[] args) {
		StringBuffer a = new StringBuffer();
		for (int i = 0; i < N; i++) {
			a.append("0");
		}
		System.out.println(a);
	}
}

the Console and the Debug inspecting variable 'a' at the end are empty.
Changing N to a lower value works correctly.

I am using 

Eclipse Java EE IDE for Web Developers.
Version: 2018-09 (4.9.0)
Build id: 20180917-1800

on Windows 10

The behaviour is the same with JDK 7, 8 and 12.
Comment 1 Sarika Sinha CLA 2019-05-17 00:30:00 EDT
I think we already have a bug, need to figure out.
Comment 2 Eclipse Genie CLA 2021-05-07 08:12:32 EDT
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 3 Eclipse Genie CLA 2023-04-30 06:05:52 EDT
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.