java - Stop Eclipse Console from blocking UI thread -


a test program of mine made eclipse mars-2 hang forever.

after testing (which wasn't easy having find line kills eclipse binary search), found out applying system.out.println 350000 character string caused problem.

is there way handle accidentally long outputs console more gracefully, i.e. not blocking whole of eclipse forever?

system.out.println causes such problems, because it's slow output lot's of data this. that's why loggers used.

however, if isn't code, so, yes, there way limit output console:

right click empty space inside console view -> preferences... -> in console submenu check "limit console output" , set "console buffer size" value


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -