Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
395 views
in Technique[技术] by (71.8m points)

logging - More lines in command window

Is there a possibility to get "more" lines into the command window (Console)?

When I debug my programs I output quite a bunch of lines to the window and the beginning of the ouput keeps disappearing out of the range I can scroll back the window so I don't see my complete output from the beginning of the program.

How can I get the command window to keep all lines?

(And yes I could as well write it into a text-file as a log, but I'd like to try it like this for a change)

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

At least in Win7, Kristina's answer now seems to be either its memory of commands typed in the command lines, or the amount you can copy-paste.

To increase the scrollbar's memory, I did the following:

  • Go to properties as mentioned by Kristina
  • Go to the layout tab (that's the third one)
  • Modify the screen buffer size's height - 9999 is the maximum.

As mentioned by Joey in the comments to Kristina's answer, this will not work on things you've already done - only on things you do after making the change.

This answer was originally written when Kristina's was marked as accepted. Now that this is the accepted answer, I've edited my answer to avoid confusion.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...