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.

Bug 146511 - Is not possible to finish javascript debug session
Summary: Is not possible to finish javascript debug session
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@javascript
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-08 14:42 UTC by Petr Pisl
Modified: 2011-12-13 07:57 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Pisl 2008-09-08 14:42:24 UTC
I'm trying the javascript debugger functionality. I have very simple php project, start only the JS debugger session.
After playing a few minutes, I'm not able to close the JS debugger session. I always get:

java.lang.AssertionError
	at org.netbeans.modules.web.client.tools.common.dbgp.DebuggerProxy.sendCommand(DebuggerProxy.java:297)
	at org.netbeans.modules.web.client.tools.common.dbgp.DebuggerProxy.setBooleanFeature(DebuggerProxy.java:98)
	at
org.netbeans.modules.web.client.tools.javascript.debugger.spi.JSAbstractExternalDebugger.setBooleanFeature(JSAbstractExternalDebugger.java:157)
	at
org.netbeans.modules.web.client.tools.javascript.debugger.spi.JSAbstractExternalDebugger.finishImpl(JSAbstractExternalDebugger.java:211)
	at org.netbeans.modules.web.client.tools.javascript.debugger.spi.JSAbstractDebugger.finish(JSAbstractDebugger.java:376)
	at org.netbeans.modules.web.client.javascript.debugger.api.NbJSDebugger.finish(NbJSDebugger.java:837)
	at
org.netbeans.modules.web.client.javascript.debugger.actions.NbJSDebuggerActionsProvider.doAction(NbJSDebuggerActionsProvider.java:174)
	at org.netbeans.api.debugger.ActionsManager.doAction(ActionsManager.java:168)
	at org.netbeans.api.debugger.Session.kill(Session.java:279)
	at org.netbeans.modules.debugger.ui.models.SessionsActionsProvider$3$1.run(SessionsActionsProvider.java:113)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)

There is only way how to close the JS debug session -> restart the IDE.
Comment 1 Quy Nguyen 2008-09-09 21:43:47 UTC
Should be fixed now.  The underlying problems with the extension and Firefox aren't fixed with this, but at least the
session can be killed and all the connections from the IDE terminated.
Comment 2 Quality Engineering 2008-09-10 06:08:20 UTC
Integrated into 'main-golden', will be available in build *200809100201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/35922326e2a5
User: Quy Nguyen <quynguyen@netbeans.org>
Log: #146511 - Fix inability to kill js debugger session