Community
Participate
Working Groups
Created attachment 288197 [details] Screen recording of expected behavior when stepping through lambda. See bug 558907 comment 9. The fix for bug 558907 seems to not work when this preference is disabled (e.g. due to performance issues): org.eclipse.jdt.debug.PREF_SHOW_STEP_RESULT=false To reproduce: 1. Disable the preference (its enabled per default): Window -> Preferences -> Java -> Debug -> "Enable for local launch types" (at group "Show method result after a step operation") 2. Debug the following snippet, with a breakpoint at first println(): public static void main(String[] args) throws InterruptedException { Runnable r = () -> { System.out.println(1); System.out.println(2); }; r.run(); System.out.println("done"); } 3. Step over the lines, there should be *no* stop at an unavailable line: 766572210.run() line: not available [local variables unavailable] 4. Enable the preference from step 1. and repeat, observe expected behavior (in Eclipse 4.23+, due to the fix for bug 558907). See also attached screen recording "lambda_stepping_expected_behavior.mp4" for the *expected* behavior.
Created attachment 288198 [details] Screen recording with disabled preference for stepping result, lambda stepping doesn't function correctly.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.