eclipse-platform / eclipse-platform/eclipse.platform

[Debug] Reduce preference switching for Run to Line operations

Open
#2,757 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
165
Forks
174
Avg merge
2d 8h
Merged PRs (30d)
22

Description

Currently, Eclipse provides a global preference "Skip breakpoints during Run to Line" that determines whether breakpoints are honored when performing a Run to Line operation.

Image

While this works for users who consistently prefer one behavior, it can be inconvenient during real debugging sessions where both modes are useful depending on the context. Eg, when navigating through complex code paths, it is often desirable to honor existing breakpoints, whereas when working inside loops or other breakpoint-heavy areas, it can be useful to temporarily ignore breakpoints and force execution directly to the selected line. Switching between these behaviors currently requires repeatedly changing a preference, which interrupts the debugging workflow.

It may be beneficial to provide a way to choose the desired breakpoint behavior directly from the Run to Line action, such as offering separate actions for normal and forced execution (skip breakpoints) or exposing an alternative action in the context menu based on the current preference state. This would allow users to select the appropriate behavior for a particular debugging scenario without modifying a global setting, resulting in a more efficient and flexible debugging experience.

## Community

- [ ] I understand suggesting an enhancement doesn't mandate anyone to implement it. Other contributors may consider this suggestion, or not, at their own convenience. The most efficient way to get it fixed is that I implement it myself and contribute it back as a good quality patch to the project.

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.