Bug 48234 - Drag and drop does not work in breakpoints
Drag and drop does not work in breakpoints
Status: NEW
Product: debugger
Classification: Unclassified
Component: Code
4.x
PC Linux
: P3 (vote)
: 6.x
Assigned To: Martin Entlicher
issues@debugger
: USABILITY
Depends on: 177506
Blocks:
  Show dependency treegraph
 
Reported: 2004-08-31 14:22 UTC by Jaroslav Tulach
Modified: 2009-11-24 06:36 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2004-08-31 14:22:53 UTC
I can group my breakpoints into various groups,
but when I add new breakpoint into a source file,
it is placed under the global group. 

Neither draganddrop or cut/copy works to move it
into my group. Usability is compromised.
Comment 1 Jan Jancura 2004-08-31 15:22:34 UTC
Yarda, we do not have nothing like this in UI spec -> RFE.
Comment 2 Martin Entlicher 2005-05-13 14:24:26 UTC
The move from/to a breakpoint group should really be improved, the usability is
not nice. There is just "Set Group Name" action available. All operations can be
done via this action, but it's not much intuitive and comfortable.

Also the performance should be improved. Certainly not all this is necessary:

"AWT-EventQueue-1" prio=1 tid=0x083f8118 nid=0x5c65 runnable
[0x474b9000..0x474ba780]
        at java.io.FileInputStream.readBytes(Native Method)
        at java.io.FileInputStream.read(FileInputStream.java:194)
        at java.io.FilterInputStream.read(FilterInputStream.java:111)
        at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:411)
        at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:453)
        at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:183)
        - locked <0x5f805538> (a java.io.InputStreamReader)
        at java.io.InputStreamReader.read(InputStreamReader.java:167)
        at org.netbeans.modules.javacore.parser.Util.readContents(Util.java:64)
        at
org.netbeans.modules.javacore.parser.ASTProvider.getRealSource(ASTProvider.java:208)
        at
org.netbeans.modules.javacore.parser.ASTProvider.getReader(ASTProvider.java:227)
        at
org.netbeans.modules.javacore.parser.ASTProvider.getSourceText(ASTProvider.java:464)
        at
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.createMDRParser(ResourceImpl.java:547)
        at
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.checkUpToDate(ResourceImpl.java:637)
        at
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.checkUpToDate(ResourceImpl.java:571)
        at
org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.isValid(SemiPersistentElement.java:67)
        at
org.netbeans.modules.javacore.ClassIndex.getClassByFqn(ClassIndex.java:263)
        at
org.netbeans.modules.javacore.ClassIndex.getClassByFqn(ClassIndex.java:587)
        at
org.netbeans.modules.javacore.jmiimpl.javamodel.JavaClassClassImpl.resolveClass(JavaClassClassImpl.java:119)
        at
org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.resolveType(MetadataElement.java:1264)
        at
org.netbeans.modules.javacore.jmiimpl.javamodel.ParameterImpl.getType(ParameterImpl.java:100)
        at org.netbeans.jmi.javamodel.Parameter$Impl.getType(Unknown Source)
        at
org.netbeans.modules.java.bridge.CallableImpl.createParameter(CallableImpl.java:278)
        at
org.netbeans.modules.java.bridge.CallableImpl$ParametersListener.initElements(CallableImpl.java:738)
        at
org.netbeans.modules.java.bridge.CallableImpl$CallableListener.connect(CallableImpl.java:564)
        at
org.netbeans.modules.java.bridge.ConstructorElementImpl.connectListener(ConstructorElementImpl.java:44)
        at
org.netbeans.modules.java.bridge.ElementImpl.attachedToElement(ElementImpl.java:452)
        at org.openide.src.Element.<init>(Element.java:54)
        at org.openide.src.MemberElement.<init>(MemberElement.java:35)
        at org.openide.src.ConstructorElement.<init>(ConstructorElement.java:40)
        at
org.netbeans.modules.java.bridge.DefaultWrapper.wrapConstructor(DefaultWrapper.java:45)
        at
org.netbeans.modules.java.bridge.DefaultLangModel.createConstructor(DefaultLangModel.java:180)
        at
org.netbeans.modules.java.bridge.ConstructorsCollection.createElement(ConstructorsCollection.java:53)
        at
org.netbeans.modules.java.bridge.ObjectsCollection.cachedElement(ObjectsCollection.java:74)
        at
org.netbeans.modules.java.bridge.ClassElementImpl.getElements(ClassElementImpl.java:867)
        at
org.netbeans.modules.java.JavaParserGlue$TextElement.getChildrenElements(JavaParserGlue.java:560)
        at
org.netbeans.modules.java.JavaParserGlue$TextElement.isLeaf(JavaParserGlue.java:630)
        at
org.netbeans.modules.java.JavaParserGlue.findElement(JavaParserGlue.java:472)
        at
org.netbeans.modules.debugger.projects.EditorContextImpl.getClassName(EditorContextImpl.java:454)
        at
org.netbeans.modules.debugger.jpda.EditorContextBridge.getClassName(EditorContextBridge.java:224)
        at
org.netbeans.modules.debugger.jpda.breakpoints.LineBreakpointImpl.setRequests(LineBreakpointImpl.java:81)
        at
org.netbeans.modules.debugger.jpda.breakpoints.BreakpointImpl.update(BreakpointImpl.java:90)
        at
org.netbeans.modules.debugger.jpda.breakpoints.BreakpointImpl.propertyChange(BreakpointImpl.java:95)
        at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
        at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:270)
        at
org.netbeans.api.debugger.Breakpoint.firePropertyChange(Breakpoint.java:127)
        at org.netbeans.api.debugger.Breakpoint.setGroupName(Breakpoint.java:70)
        at
org.netbeans.modules.debugger.ui.models.BreakpointsActionsProvider.setGroupName(BreakpointsActionsProvider.java:313)
        at
org.netbeans.modules.debugger.ui.models.BreakpointsActionsProvider.access$000(BreakpointsActionsProvider.java:43)
        at
org.netbeans.modules.debugger.ui.models.BreakpointsActionsProvider$8.perform(BreakpointsActionsProvider.java:146)
        at
org.netbeans.spi.viewmodel.Models$ActionSupport.actionPerformed(Models.java:394)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
        at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
        at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
        at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
        at java.awt.Component.processMouseEvent(Component.java:5488)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3093)
        at java.awt.Component.processEvent(Component.java:5253)
        at java.awt.Container.processEvent(Container.java:1966)
        at java.awt.Component.dispatchEventImpl(Component.java:3955)
        at java.awt.Container.dispatchEventImpl(Container.java:2024)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
        at java.awt.Container.dispatchEventImpl(Container.java:2010)
        at java.awt.Window.dispatchEventImpl(Window.java:1766)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 3 Martin Entlicher 2009-11-24 06:36:31 UTC
The UI for breakpoint groups was improved in 6.8 and also performance (the breakpoint is not re-submitted into JDI when a group name changes).

When the support for DnD is added, it can be used in breakpoints view to move among groups...


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo