Bug 582255 - Eclipse debugger mouseover shows outdated or wrong var content
Summary: Eclipse debugger mouseover shows outdated or wrong var content
Status: NEW
Alias: None
Product: Incubator
Classification: Eclipse Project
Component: e4 (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: E4 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-28 08:28 EDT by fozzy bear CLA
Modified: 2023-07-28 08:28 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fozzy bear CLA 2023-07-28 08:28:27 EDT
In Eclipse 4.28.0 (also previous versions) with Oracle JDK 11.0.18, from within lambdas like in JUnit Jupiter 1.9.3 assertAll(), mouseover var and "(x)=Variables" view content information seems to be wrong or outdated on arbitrary stops in many iterations with large sets of data.

@ParameterizedTest
@MethodSource("testSource")
void myTest(String testStr) {
  assertAll(
    () -> {
      if ("$".equals(testStr) {
        // breakpoint here, mouseover on testStr e. g. shows " " instead of "$"
        assertTrue(testStr.contains("test1"));  
      }
    }
  );
}

The described behaviour seems to be inconsistent but frequently shows wrong or unexpected var content, also in the "(x)=Variables" view content for the referenced lambda content injected from outer context.