How to use the Eclipse Debugger? [message #1768608] |
Thu, 20 July 2017 14:13 |
RajibKumar Bandopadhyay Messages: 58 Registered: July 2014 |
Member |
|
|
Hi!
Are there any help file available on the usage of the Eclipse Debugger?
Suppose I have the following console output. What does it say about the problem? The codes are posted hereunder:
Enter Length : 1.5
Exception in thread "main" java.util.InputMismatchException
at java.util.Scanner.throwFor(Scanner.java:857)
at java.util.Scanner.next(Scanner.java:1478)
at java.util.Scanner.nextInt(Scanner.java:2108)
at java.util.Scanner.nextInt(Scanner.java:2067)
at areaandperimeterofarectangle.AreaAndPerimeterOfARectangle.main(AreaAndPerimeterOfARectangle.java:30)
Will it be possible to understand why the error happened, without looking at the .java code?
What does each line on the above console outputs signify?
[Updated on: Thu, 12 October 2017 15:47] by Moderator Report message to a moderator
|
|
|
|
|
|
Re: How to use the Eclipse Debugger? [message #1768632 is a reply to message #1768631] |
Thu, 20 July 2017 18:16 |
RajibKumar Bandopadhyay Messages: 58 Registered: July 2014 |
Member |
|
|
I never would have let you repeat your advice twice! You are held in such high esteem!
I have already read the Vogel tutorial, but it is very generalised. It doesn't teach which output codes relate to which errors! There is no tablular data!
I had found other tutorials via Google search by today morning itself, and then on a brainwave tried my idea to find out whether the experienced programmers could identify the errors without looking at the program, but only the errors/outputs!
[Updated on: Thu, 20 July 2017 18:20] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06054 seconds