Community
Participate
Working Groups
I20110124-1800 1. Fresh Workspace 2. Snippet to use package p; class A { void foo() { bar(); //BP1 } void bar() { foo(); //BP2 } } 3. Create a breakpoint at the line marked as BP1 4. In the Breakpoints view enter the condition for this breakpoint as "true;" 5. Create a breakpoint at the line marked as BP2 6. In the Breakpoints view enter the condition for this breakpoint as "false;" 7. Select the 1st breakpoint in Breakpoints view, history dropdown contents are true; false; true; => Why does it have 3 entries, there should be only 2? 8. Select the 2nd breakpoint in Breakpoints view, history dropdown contents are false; false; true; => Why does it have 3 entries ? Breakpoint properties dialog has only 2 entries, which is correct. 9. Change the condition for the 2nd breakpoint to “true;” . History dropdown contents for BP2 are true; false; true; false; => Why are there duplicate entries ? Breakpoint properties dialog still shows true; false; for BP1 the history dropdown contents are true; true; false;
The duplicates are there because the upper part shows the local and the lower part shows the global history. I think we should leave it like that but add a separator as suggested in bug 335305. *** This bug has been marked as a duplicate of bug 335305 ***