Community
Participate
Working Groups
When working with breakpoints, one could find out that its better to have the breakpoint in a different line that what he/she originally created at. Today if the breaking point has a condition, we need to copy the condition and create a new breakpoint at new location. It would be nice if we can drag and drop the break point to the new location so that we don't need to manually move conditions and other breakpoint properties. I had this idea when debugging a code and I quickly checked in IJ and they have that support.
One preliminary work would be that in the "Breakpoint Properties" page, the breakpoint line should be editable.
This should not be a difficult task. For user it will be a move but internally it will delete and copying the properties to create a new one with the same properties.
@Sarika any idea how we can consume drag and drop event from the ruler ? I guess we need a drag start event so we can detect the break point at ruler location and on drop event we can delete the breakpoint and recreate with new location.
@Lars if i need to make the breakpoint draggable, does this support come from the platform VerticalRuler ? How can i implement to draggable behavior ? when i checked the source code it seems like annotations are painted with the icons they are provide. So there is no control which i can make draggable using the SWT dnd tutorials out there.