Bug 561547 - [Breakpoints] Feature request: When a breakpoint is hit, highlight that breakpoint in the Breakpoints view.
Summary: [Breakpoints] Feature request: When a breakpoint is hit, highlight that break...
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 4.15   Edit
Hardware: PC Windows 10
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-28 18:24 EDT by Taro Kyo CLA
Modified: 2020-03-30 03:18 EDT (History)
1 user (show)

See Also:


Attachments
Mock-up. It's just highlighting a breakpoint inside the out-of-focus Breakpoints view when a debugger has hit that enabled breakpoint. (16.63 KB, image/png)
2020-03-28 18:24 EDT, Taro Kyo CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Taro Kyo CLA 2020-03-28 18:24:35 EDT
Created attachment 282263 [details]
Mock-up. It's just highlighting a breakpoint inside the out-of-focus Breakpoints view when a debugger has hit that enabled breakpoint.

Eclipse IDE for Java Developers
Version: 2020-03 (4.15.0)
Build id: 20200313-1211

This is in a scenario where we are assuming all breakpoints are going to be hit and the debugger will pause at that breakpoint. No "Hit and Continue" conditional breakpoints.

When I have a list of breakpoints I wanted the debugger to hit inside a particular Java document, it is not easy to remember which breakpoint was hit at the locations, even when given the line numbers of all of the breakpoints inside that Java document.

This is particularly annoying when debugging code, and the debugger is jumping around inside the file, and you wanted to toggle that breakpoint on or off in the Breakpoints list.

You want to be able to see which breakpoint was hit at a glance from the Breakpoints view. It is not that apparent in the current Eclipse version, and it takes a bit of focus just to see which breakpoint is the correct breakpoint to toggle on/off.

By highlighting the breakpoint that the debugger hit upon and stopped at, we can easily see which breakpoint was set, and we can easily identify whether to toggle on/off the breakpoint at a glance, all because the highlighted breakpoint was focused on.

Thus, I request for a feature where the highlighted breakpoint is shown in the Breakpoints view when the debugger has hit that breakpoint. Attached is a mock-up of what it will look like.
Comment 1 Sarika Sinha CLA 2020-03-30 03:18:11 EDT
While the request is genuine, there are some complexities designing it: 
If there are many breakpoints in the Breakpoints view and the current focus does not have this breakpoint in the visible are, it can be jumping up and down all the time.

So we need a way to do this on demand. If some one can work and give a quality patch, we can look at it.