Eclipse Oxygen - Step Over Debugging Problem

Since upgrading Eclipse from Neon to Oxygen, I have had a problem with the "F6 - Step Over" feature when debugging my code. Every time I use "Step Over" and the current line contains a method call, I will switch to a method (the behavior is "F5 - Step Into"). The same behavior occurs when using the Step by Step button. After entering the method, I lost the connection (for example, when reusing "F6 - Step Over") in the debugger and an error occurred: "com.sun.jdi.InternalException: I received an error code in response: 35, a step request was created.".

A typical line of code causing the indicated problem looks like this:

Collection<Object> coll = getSomething(...);
...
...
private Collection<Object> getSomething(...) { ... }

Does anyone have the same problem and can give me a hint how to solve this?

+4
source share
1 answer

I had the same problem and found the answer to your question:

At https://www.eclipse.org/eclipse/news/4.7/jdt.php#step-show-methodresult, they introduced this new feature. If you disable it, Step Over will work as always :-)

go to Window - Preferences - Java - Debugging and disabling "Show the result of a method after a step operation (if supported by VM, it may be slow)

problem

Why did they allow the experimental function, which was catastrophic, to guess ...

+9
source

Source: https://habr.com/ru/post/1684658/


All Articles