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 139189 - PHP - hang if using debugger keyword in .php file
Summary: PHP - hang if using debugger keyword in .php file
Status: RESOLVED DUPLICATE of bug 137375
Alias: None
Product: javascript
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Quy Nguyen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-08 00:17 UTC by _ krystyna
Modified: 2008-07-30 01:14 UTC (History)
0 users

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 _ krystyna 2008-07-08 00:17:05 UTC
NetBeans IDE Dev (Build 200807071204)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: Windows XP version 5.1

1. create a php project and add some javascript code to index.php including debugger keyword
2. set project property to client side debug and launch debugger
>hang at debugger splashscreen with debug toolbar icons greyed.
>need to restart IDE to clear

Assuming this is due to the current lack of mappings and the need to use go-to-source to debug javascript.

The debugger keyword in plain .js files within a php project works correctly.
Comment 1 Quy Nguyen 2008-07-08 00:21:37 UTC
This is probably the same problem as Issue 137375.  Because php files are not mapped, the debugger attempts to get the
URL source from the browser, which hangs due to the problem in 137375.
Comment 2 _ krystyna 2008-07-30 00:35:38 UTC
NetBeans IDE Dev (Build 20080729211438)
No hang as timeout now takes effect, but the problem
is still as in #137375. Note: used firefox to avoid
IE debugger keyword issue.
Comment 3 Quy Nguyen 2008-07-30 01:14:10 UTC
The root cause of this problem is the same as 137375; since php files are loaded from the browser cache, any javascript
breakpoints (or debugger keywords) that are hit while the page is loading will not work.

*** This issue has been marked as a duplicate of 137375 ***