This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Steps to reproduce: - create Quote sample - set internal terminal as a console type - run the project - press Simple Attach button Result: Exception window appears: java.lang.AssertionError at org.netbeans.modules.cnd.debugger.common2.utils.IpeUtils.postError(IpeUtils.java:610) at org.netbeans.modules.cnd.debugger.common2.debugger.DebuggerManager.error(DebuggerManager.java:1636) at org.netbeans.modules.cnd.debugger.gdb2.GdbDebuggerImpl.genericFailure(GdbDebuggerImpl.java:1270) at org.netbeans.modules.cnd.debugger.gdb2.GdbDebuggerImpl.access$800(GdbDebuggerImpl.java:120) at org.netbeans.modules.cnd.debugger.gdb2.GdbDebuggerImpl$27.onError(GdbDebuggerImpl.java:3043) at org.netbeans.modules.cnd.debugger.gdb2.mi.MICommandManager.dispatch(MICommandManager.java:131) at org.netbeans.modules.cnd.debugger.gdb2.mi.MIProxy.dispatch(MIProxy.java:175) at org.netbeans.modules.cnd.debugger.gdb2.mi.MIProxy.result(MIProxy.java:180) at org.netbeans.modules.cnd.debugger.gdb2.mi.MIProxy.processLine(MIProxy.java:144) at org.netbeans.modules.cnd.debugger.gdb2.Gdb$Tap$3.run(Gdb.java:1009) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1424) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1968) Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to at org.openide.util.RequestProcessor.post(RequestProcessor.java:425) at org.netbeans.modules.cnd.debugger.gdb2.Gdb$Tap.dispatchInterceptedLines(Gdb.java:1007) at org.netbeans.modules.cnd.debugger.gdb2.Gdb$Tap.putChars(Gdb.java:789) at org.netbeans.lib.terminalemulator.Term.putChars(Term.java:3184) at org.netbeans.lib.terminalemulator.StreamTerm$OutputMonitor$Trampoline.run(StreamTerm.java:204) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:138) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) [catch] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
This also happens with a "normal" attach.
please attach gdb log
gdb log for SimpleAttach: ~"GNU gdb 6.8-debian\n" ~"Copyright (C) 2008 Free Software Foundation, Inc.\n" ~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\n" ~"This is free software: you are free to change and redistribute it.\n" ~"There is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\n" ~"and \"show warranty\" for details.\n" ~"This GDB was configured as \"i486-linux-gnu\".\n" &"/home/ap153252/.gdbinit: No such file or directory.\n" (gdb) 1-file-exec-and-symbols "-" &"No executable file name was specified\n" 1^error,msg="No executable file name was specified" (gdb)
For normal attach gdb log is the same.
fixed in: http://hg.netbeans.org/cnd-main/rev/ef00ead75d23
Integrated into 'main-golden', will be available in build *201011170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ef00ead75d23 User: Egor Ushakov <gorrus@netbeans.org> Log: fixed #192001 (Unhandled exception on attach debugger)