As I can see step by step a method with Debug [closed]

0

I know I have to go to the Debug mode, but I do not know how to impose a breakpoint inside the code to see step by step how the variables interact and the method itself

    
asked by Hispanish 27.05.2017 в 11:42
source

1 answer

1

To add a BreakPoint based on going to the class where you want to put it and double-click on the left margin of the editor, on the line where you want the execution to stop.

And these are some of the keyboard shortcuts to advance the execution:

  • Resume (F8); continues with the execution (until the next breakpoint).
  • Step Into (F5); it stops at the first line of the code of the method that we are executing. If there is no method, it does the same as Step Over.
  • Step Over (F6); go to the next line we see in the code view.
  • Step Return (F7); returns to the next line of the method that called the method that is currently being debugged.
answered by 27.05.2017 в 11:56