Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 335305

Summary: Separate global and local breakpoint history in the UI
Product: [Eclipse Project] JDT Reporter: Deepak Azad <deepakazad>
Component: DebugAssignee: Dani Megert <daniel_megert>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert, markus.kell.r
Version: 3.7   
Target Milestone: 3.7 M5   
Hardware: All   
OS: All   
Whiteboard:

Description Deepak Azad CLA 2011-01-25 08:17:07 EST
I20110124-1800

For conditional breakpoints a history of conditions is kept - global history (common across breakpoints), and local history (specific to a breakpoint). However in Breakpoints view there is no way to identify which is which, and it gets quite confusing. At times I am left wondering, why did I enter a condition for a particular breakpoint before realizing that it is global history.

It would be nice to separate global and local history in the UI. 

- In the dropdown there could be a separator between 
Local history item 1
Local history item 1
---------------------
Global history item 1
Global history item 1
Global history item 1

- or the global history items could have a different background color/font etc
Comment 1 Markus Keller CLA 2011-01-25 11:20:06 EST
I agree. This would also be helpful in cases where the popup menu doesn't show any difference between two entries. When I know where the global entries start, I have a much higher chance for picking the right one.
Comment 2 Dani Megert CLA 2011-01-25 11:51:51 EST
(In reply to comment #1)
> I agree. This would also be helpful in cases where the popup menu doesn't show
> any difference between two entries. 
So - you would like to see the same element(s) in local and global history and not fix bug 335302?
Comment 3 Deepak Azad CLA 2011-01-25 12:00:32 EST
(In reply to comment #2)
> So - you would like to see the same element(s) in local and global history and
> not fix bug 335302?
Yes, this would be nice.
Comment 4 Markus Keller CLA 2011-01-25 12:09:01 EST
> So - you would like to see the same element(s) in local and global history and
> not fix bug 335302?

I did not investigate bug 335302 in detail. I just saw too many entries and I didn't understand the logic on first sight. I think we should have the separator first, and then we can see if any other changes are necessary (probably none).
Comment 5 Dani Megert CLA 2011-01-26 05:29:08 EST
*** Bug 335302 has been marked as a duplicate of this bug. ***
Comment 6 Dani Megert CLA 2011-01-26 07:03:21 EST
Fixed in HEAD.
Available in builds >= I20110126-0800.
Comment 7 Deepak Azad CLA 2011-01-26 08:01:27 EST
Looks good now.
Comment 8 Dani Megert CLA 2011-01-27 03:13:01 EST
Verified in I20110126-1800.