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.1. First, we need to start the Java program within Eclipse in debug mode. This can be achieved in two ways: Right-click on the editor and select Debug As -> Java Application (shown in below screenshot) Debug the program from the toolbar (highlighted in below screenshot)
In my case increasing the "debug timeout" value resolved the problem. Thanks to @Shahbaz Ahmad comment.
Preferences >> Debug >> Connection Timeout
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With