Bug 282800

Summary: Break point will change its position when you disable it.
Product: [Eclipse Project] JDT Reporter: Maggie Shen <lshen>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, kenneth.styrberg, sarika.sinha
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug
Attachments:
Description Flags
screenshot none

Description Maggie Shen CLA 2009-07-08 05:19:35 EDT
Created attachment 141058 [details]
screenshot

Build id: I20090611-1540

1. Add some lines, without left padding.
2. Add a break point and press Enter.
3. Disable the break point.

Actual result:
The break point change its position.See attached screen shot.
Comment 1 Dani Megert CLA 2009-07-08 05:41:55 EDT
Most likely a bug when updating the breakpoint.
Comment 2 Dani Megert CLA 2009-07-08 05:45:13 EDT
Broken since 3.1.
Comment 3 Eclipse Genie CLA 2020-06-02 16:16:25 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 4 Kenneth Styrberg CLA 2020-06-04 04:26:22 EDT
Still a problem in 2020-06 M3
Comment 5 Sarika Sinha CLA 2020-06-04 05:36:57 EDT
Yes, and if save the file before disabling, it doesn't happen.
Or after this dislocction also if file is saved, breakpoint moves to the correct position.

So on disabling, there is no validation of breakpoint location right now and the original breakpoint line number is used to display the breakpoint.

We can validate the breakpoint markers after each toggle breakpoint action but it will make the things slow.
Comment 6 Eclipse Genie CLA 2022-08-31 01:57:56 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.