Bug 537050 - Selection in debugger shows different lines and persists post closing the file and re-opening
Summary: Selection in debugger shows different lines and persists post closing the fil...
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 4.9   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-16 02:43 EDT by Vikas Chandra CLA
Modified: 2022-09-05 14:32 EDT (History)
1 user (show)

See Also:


Attachments
Gif showing the problem (301.49 KB, image/gif)
2018-07-16 02:43 EDT, Vikas Chandra CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vikas Chandra CLA 2018-07-16 02:43:46 EDT
Created attachment 274990 [details]
Gif showing  the problem

While working on bug 535743, I encountered this multiple times.

Steps:
1) Debug jdt.core and in launched workspace keep this project - >https://bugs.eclipse.org/bugs/show_bug.cgi?id=535743#c5

2) Use this debug code ->https://bugs.eclipse.org/bugs/show_bug.cgi?id=535743#c4

3) Also add code like 
		int a=99;
			if(a==99) {
				
			}

in setBody and put breakpoint here and try again.

See gif image attached
Comment 1 Andrey Loskutov CLA 2018-07-29 05:21:43 EDT
Vikas, can you please be more precise about what is your expectation and how it differs from observed state? I can't understand what is the problem here.

Debugger selects the line of the breakpoint if you double click line breakpoint - this is expected, but it does not persist this selection, it is just automatically selects the line.
Comment 2 Eclipse Genie CLA 2020-07-29 16:16:33 EDT
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 Eclipse Genie CLA 2022-09-05 14:32:51 EDT
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.