Debugging Java code line by line

前端 未结 4 2051
南笙
南笙 2020-12-31 16:56

Is it possible to debug code line by line in Eclipse showing which line is executing so that I understand the logic of the code? I\'m new to programming, please give me suit

4条回答
  •  长发绾君心
    2020-12-31 17:33

    you need to:

    1. create a breakpoint by double clicking the left margin of the code
    2. launch your program in debug mode
    3. use the stepping buttons or F5-F8 to step in different ways

提交回复
热议问题