When we are new to development in Java,it is difficult to know how values are stored in variable,how the execution flow happens etc...
Efficient way to get knowledge about above is by only debuggingggggggggg
1.Double click on the left margin of the line you want to debug
2.Debug point will be shown on the specific line you clicked.
3.Right click on the Java file
4.Choose "Debug as" option to start the application in debug mode
5.When application is started then debug point will come to the place in which you put the point.
Short cut keys for debugging:
F5 -Step into the code in the same line
F6 -Will move to next line
F8-Will move to next debug point
Efficient way to get knowledge about above is by only debuggingggggggggg
1.Double click on the left margin of the line you want to debug
2.Debug point will be shown on the specific line you clicked.
3.Right click on the Java file
4.Choose "Debug as" option to start the application in debug mode
5.When application is started then debug point will come to the place in which you put the point.
Short cut keys for debugging:
F5 -Step into the code in the same line
F6 -Will move to next line
F8-Will move to next debug point
No comments:
Post a Comment