How to change limits of Console in Eclipse

The Console is one of the windows that is typically placed at the bottom of Eclipse. It is used to display the build output when compiling files and it is also used to display the console output written out by your program.

There is a limit to the number of characters or lines that the Console will hold. If your build or output is more than this limit, then the characters or lines at the top of the Console are silently removed. This can be problematic since it is very common for build outputs to be very verbose or for your program to spew a lot of output to the standard output. Thankfully, these limits can be changed or increased easily.

To change or increase the limit on number of lines of build output for C/C++, go to: Settings > C/C++ > Build > Console. The entry we need to change here is Limit console output (number of lines). The default limit is a tiny 500 lines. Increase it to a larger number like 10000.

To change or increase the limit on buffer size for output from your program, go to: Windows > Preferences > Run/Debug > Console. The entry we need to change here is Console buffer size (characters). The default limit is a small 80000 characters. Change it to a larger number like 1000000.

Tried with: Eclipse 3.7.2 and Ubuntu 12.04

About these ads

One thought on “How to change limits of Console in Eclipse

  1. Thanks. After all these years I still have to look for these things.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s