9

I have upgraded Eclipse to Oxygen, with Scala and Python added. I noticed that when programming in Java, the step commands of the debugger remain disabled. I can run the debugger, and it will run until it hits a breakpoint, but then i cannot step in or over. I can only stop the (local) VM.

Any thoughts?

2 Answers2

2

In my case increasing the "debug timeout" value resolved the problem. Thanks to @Shahbaz Ahmad comment.

Preferences >> Debug >> Connection Timeout

Rogelio Blanco
  • 1,462
  • 4
  • 19
  • 29
0

If you have all code in main function then put a breakpoint at main function as well. And if you have multiple functions, breakpoint on methods as well ( if you have breakpoint inside that method).

Basically, put a breakpoint on the function in which you have added breakpoints.

Shivam Papat
  • 457
  • 4
  • 14