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 139423 - IDE throws AssertionError while try debug php project with specific settings
Summary: IDE throws AssertionError while try debug php project with specific settings
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: _ deva
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-09 16:04 UTC by Victoria Zhukovskaya
Modified: 2008-08-01 13:27 UTC (History)
2 users (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 Victoria Zhukovskaya 2008-07-09 16:04:56 UTC
Product Version: NetBeans IDE Dev (Build 200807090008)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b13
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)

1. Create php project
2. Add something to src.
3. Invoke Properies for the project
4. Select debug node and set on - "Debug client side JavaScript (...)"  and set on "Internet Explorer"
5. Invoke debug

result: 


java.lang.AssertionError
	at org.netbeans.modules.php.dbgp.StartActionProviderImpl$ServerThread.run(StartActionProviderImpl.java:298)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)

expected result: may be there should not be any action but exception should not appear
Comment 1 rmatous 2008-07-28 15:58:03 UTC
Cannot reproduce AE, but if js.debugger isn't installed properly then php debugger doen't work also - still waits for
connection because xdebug engine isn't requested to initiate debugging cause
HtmlBrowser.URLDisplayer.getDefault().showURL(debugUrl) isn't called.

Never worked for me after integration. I tried to evaluate the javascript dbg. code but sorry I don't understand.
Definitely in any case to achieve proper php dbg. functionality - should be called
HtmlBrowser.URLDisplayer.getDefault().showURL(debugUrl) which doesn't seem to be guaranteed. Can be checked by having
breakpoint in NbTopManager.NbURLDisplayer.showURL.

Please evaluate.
Comment 2 _ deva 2008-07-30 02:45:22 UTC
This was caused because of defaulting to NonDebugger when the user selects to cancel the JavaScript debugger extension
installation. NonDebugger had additional issues of creating debugging session which cannot be closed. We have decided to
remove it as it is not required.

Changeset 93253:daf9df19505c
Comment 3 Victoria Zhukovskaya 2008-08-01 13:27:51 UTC
Product Version: NetBeans IDE Dev (Build 200808010201)
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b06

there is no AssertionError