eclipse-jdt / eclipse-jdt/eclipse.jdt.debug

Add hitcount column to Breakpoints view

Open
#621 1 comment 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
23
Forks
68
Avg merge
1d 1h
Merged PRs (30d)
16

Description

Currently the user can configure a "Hit count" value as Breakpoint condition:

![Image](https://github.com/user-attachments/assets/792d1b1c-23f6-4236-ab21-56024b71b82c)
But the user can not see how often the breakpoint did already hit.

Together with a resume functionality (https://github.com/eclipse-jdt/eclipse.jdt.debug/issues/614) or condition=false the actual hitcount could also be used as poor mans invocation counter. "Poor man" because probably a simple implementation would be to slow to measure millions of hits. But we could give it a try and even for few Hitcounts the information may be worthy.

![Image](https://github.com/user-attachments/assets/de9606a1-6cfd-40ca-98fe-abed1e88b1bd)

- The column may be optional and configurable if its shown.
- One might want to sort by that column value
- It might be useful to add a "Toggle Hitcounter" in the contextmenu

WDYT?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.