954,549 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

when too many errors

hello all
I use notepad++ to create my code
I use dos command to javac the code
some times when there is error in my code the the dos console shows many lines of error message
my question is : if the error lines's message is 100 lines or more ,the first error line message scrolled up and cannot be seen anymore ,so I cannot see the beginning of error message
How do i know the beginning of error message ?
(how to overcome this problem ?)

thank you

denny

dennysimon
Junior Poster
114 posts since Mar 2011
Reputation Points: 10
Solved Threads: 0
 

If there are truly too many errors to see, you've probably written too much code that is untested.
You should compile more often to avoid this.

You can also comment out the excess, untested code to narrow down the errors.

thines01
Postaholic
Team Colleague
2,425 posts since Oct 2009
Reputation Points: 445
Solved Threads: 402
 

hello thines01
some times I need to change code at the small line number,if that code is wrong
for instance i unintend delete a variable,then the whole lines under it which used that variable
become error.If the variable i don't remember at what lines,then I also cannot see it in the error message.
I have to find it manually.

thank you
denny

dennysimon
Junior Poster
114 posts since Mar 2011
Reputation Points: 10
Solved Threads: 0
 

try the getStackTrace() method.
you can then write the entire stacktrace in a log file, so you'll miss no lines.

stultuske
Posting Sensei
3,137 posts since Jan 2007
Reputation Points: 1,114
Solved Threads: 433
 

Have you tried using a > to redirect the output messages from the compiler to a file where you can browse them all at your leisure?

JamesCherrill
Posting Genius
Moderator
6,373 posts since Apr 2008
Reputation Points: 2,130
Solved Threads: 1,073
 

Open your "command prompt".
Right-Click on the title bar.
Select "properties".
Click on the "layout" tab.
In the "Screen Buffer SIze" section,
adjust the buffer height to a larger amount.
I've got mine set to 300.
You also may wish to increase the "Window Size" height.

hfx642
Posting Pro
515 posts since Nov 2009
Reputation Points: 248
Solved Threads: 105
 

hello all

thank you ,you are all very ver good techer to me

denny

dennysimon
Junior Poster
114 posts since Mar 2011
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You