Bug 282800 - Break point will change its position when you disable it.
Summary: Break point will change its position when you disable it.
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-08 05:19 EDT by Maggie Shen CLA
Modified: 2022-08-31 01:57 EDT (History)
3 users (show)

See Also:


Attachments
screenshot (990.50 KB, video/avi)
2009-07-08 05:19 EDT, Maggie Shen CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.