Bug 558831 - Stale invisible debugger repositions editor
Summary: Stale invisible debugger repositions editor
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 4.15   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2020-01-06 06:34 EST by Ed Willink CLA
Modified: 2023-12-19 18:18 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2020-01-06 06:34:26 EST
Normally in the Debug perspective after stopping at a breakpoint and editing the source file, an incremental recompile occurs and the debugger rewinds typically to the first line of the current function. Good.

This can be very irritating if the edit is still in progress and the context for the continuing edit is corrupted (and of cpurse the debgger tries to load a heap of compilation errors). There is however a plausible conflict between the editor as a debug output medium and a user input medium. Bad ergonomics but not necessarily a bug.

However if the user has changed to a normal Java perspective, there is no conflict, the editor is there to support Java editing. Anything that corrupts the user's editing actions is a BUG.

When the Debug view is not visible, the debugger updates should be suspended.

a) No repositioning of editors should occur
b) Probably no incremental reloading should occur either.

To avoid the bad ergonomics, when the Debug View is visible, a debug update can occur if the Debug or Variables View has focus, but never while the editor has focus.
Comment 1 Sarika Sinha CLA 2020-01-07 22:32:26 EST
If someone can spend some time to look into this, I can guide/review.
Comment 2 Eclipse Genie CLA 2021-12-28 13:06:38 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 3 Ed Willink CLA 2021-12-28 14:21:52 EST
Definitely not stale. Although this could be regarded as one of a plethora of near-duplicate bugs open on the debugger's focus / inactive state handling.
Comment 4 Eclipse Genie CLA 2023-12-19 18:18:45 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.