Community
Participate
Working Groups
1. Define logcial structure for MyClass in this testcase. The logical structure is defined as follows where error is the var name to show in the logical structure: error = this.showMe = null; return showMe.length(); 2. Stop at the for loop of the testcase, and show logical structure 3. Expand variable cls An error message shows up briefly. The details pane keeps flashinng. Looks like the details pane is updated repeated. Eventually, I got an "Invalid stack frame" error in Variables View. Testcase: public class TestErrorLogicalStructure { public class MyClass { String showMe = "showUs"; String hideMe = "hidebase"; public MyClass() { System.out.println("hello my class"); } public String getShowMe() { return showMe; } } /** * @param args */ public static void main(String[] args) { TestErrorLogicalStructure x = new TestErrorLogicalStructure(); MyClass cls = x.new MyClass(); for (int i=0; i<10; i++) System.out.println("hello"); } }
The problem is not the error in the logical structure. The problem is that the structure modifies the value of the object for which the structure is being computed. This causes a CHANGE event to be fire for the variable, which updates the variable, which causes the structure to be computed again, which...
*** This bug has been marked as a duplicate of 119025 ***
Marked wrong bug as dup.
Deferred
Re-opening. Works for me in 3.4
Works for me in 3.4 M6. Not sure when this was fixed.