Chandan B Kumar

software, agile, java, cúram, LIFE!

Eclipse Console

Posted by Chandan B Kumar on May 15, 2008

Have you ever gotten into a situation where your console output is so large that Eclipse won’t hold? Setting the console buffer size to the maximum (1000000 characters) also did not help. Then, the only thing that can save you now is, redirecting the console output.

Redirecting is pretty easy in Eclipse. Launch the Run window (Run->Open Run Dialog), select the application whose console output you want to redirect and click on the Common tab. Check the “File” checkbox and enter the absolute file name. Check the “Append” checkbox if you want to append to the existing file contents. Restart the application and you are all set. In case if you want to clear the log while the application is still using the log, you can open it in notepad, clear the contents, press OK on the error message, click “Save” and confirm.

Advertisements

One Response to “Eclipse Console”

  1. lakshmi said

    Your post helped me a lot. Thanks!

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

 
%d bloggers like this: