0

So I’m writing a program and an error is shown, as I’m reading the stack trace I come to the end and it says “... 20 more”. Is there any way to see these 20 more lines?

Sean Cantwell
  • 31
  • 1
  • 6
  • 1
    Not an answer, but most of the time I find that the first 20 lines is sufficient to figure out what is going wrong. – Tim Biegeleisen Feb 20 '18 at 01:27
  • Well I am able to tell it’s a “Java.io.fileNotFoundException” but I can’t find the file that actually looks for the missing file (I moved the “missing” file to a new location) – Sean Cantwell Feb 20 '18 at 01:29

1 Answers1

0

If you can catch the exception, you can loop through the lines and print them yourself using the getStackTrace() method.

pal
  • 942
  • 1
  • 9
  • 19