You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "E (JIRA)" <ji...@apache.org> on 2018/03/21 13:10:00 UTC

[jira] [Created] (NETBEANS-493) Pausing the debugger (gcc) triggers and exception on stdout then freezes Netbeans

E created NETBEANS-493:
--------------------------

             Summary: Pausing the debugger (gcc) triggers and exception on stdout then freezes Netbeans
                 Key: NETBEANS-493
                 URL: https://issues.apache.org/jira/browse/NETBEANS-493
             Project: NetBeans
          Issue Type: Bug
            Reporter: E


I clicked the "pause" button of a C program being run in Netbeans.
The pause button got disabled and the continue one enabled (as expected).
But the GUI froze.

Reading the tty output, I can see:

INFO [dlight.libs.common.logger]: Should not be called from UI thread
java.lang.Exception: Should not be called from UI thread
        at org.netbeans.modules.dlight.libs.common.DLightLibsCommonLogger.assertNonUiThread(DLightLibsCommonLogger.java:131)
        at org.netbeans.modules.dlight.libs.common.DLightLibsCommonLogger.assertNonUiThreadOnce(DLightLibsCommonLogger.java:141)
        at org.netbeans.modules.cnd.utils.CndUtils.assertNonUiThread(CndUtils.java:340)
        at org.netbeans.modules.cnd.debugger.common2.utils.ExecutorCND.interrupt(ExecutorCND.java:121)
        at org.netbeans.modules.cnd.debugger.gdb2.Gdb.pause(Gdb.java:644)
        at org.netbeans.modules.cnd.debugger.gdb2.GdbDebuggerImpl.pause(GdbDebuggerImpl.java:1067)
        at org.netbeans.modules.cnd.debugger.gdb2.GdbDebuggerImpl.sendCommandInt(GdbDebuggerImpl.java:6173)
        at org.netbeans.modules.cnd.debugger.gdb2.GdbDebuggerImpl.postCreateHandlerImpl(GdbDebuggerImpl.java:5837)
        at org.netbeans.modules.cnd.debugger.common2.debugger.breakpoints.BreakpointManager.postCreateHandler(BreakpointManager.java:1284)
        at org.netbeans.modules.cnd.debugger.common2.debugger.breakpoints.Handler.postNewHandler(Handler.java:270)
        at org.netbeans.modules.cnd.debugger.common2.debugger.actions.ToggleBreakpointActionProvider.doAction(ToggleBreakpointActionProvider.java:195)
        at org.netbeans.modules.cnd.debugger.common2.debugger.actions.NativeActionsProvider.postAction(NativeActionsProvider.java:78)
        at org.netbeans.modules.cnd.debugger.common2.debugger.actions.ToggleBreakpointActionProvider.postAction(ToggleBreakpointActionProvider.java:87)
        at org.netbeans.api.debugger.ActionsManager.postAction(ActionsManager.java:232)
        at org.netbeans.modules.debugger.ui.actions.DebuggerAction.actionPerformed(DebuggerAction.java:79)
        at org.netbeans.editor.GlyphGutter$GutterMouseListener.mouseClicked(GlyphGutter.java:937)
        at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:269)
        at java.awt.Component.processMouseEvent(Component.java:6536)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
        at java.awt.Component.processEvent(Component.java:6298)
        at java.awt.Container.processEvent(Container.java:2237)
        at java.awt.Component.dispatchEventImpl(Component.java:4889)
        at java.awt.Container.dispatchEventImpl(Container.java:2295)
        at java.awt.Component.dispatchEvent(Component.java:4711)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467)
        at java.awt.Container.dispatchEventImpl(Container.java:2281)
        at java.awt.Window.dispatchEventImpl(Window.java:2746)
        at java.awt.Component.dispatchEvent(Component.java:4711)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
        at java.awt.EventQueue.access$500(EventQueue.java:97)
        at java.awt.EventQueue$3.run(EventQueue.java:709)
        at java.awt.EventQueue$3.run(EventQueue.java:703)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
        at java.awt.EventQueue$4.run(EventQueue.java:733)
        at java.awt.EventQueue$4.run(EventQueue.java:731)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
        at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists