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 250786 - Breakpoints in embedded JS in PHP file are ignored
Summary: Breakpoints in embedded JS in PHP file are ignored
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on: 251531
Blocks:
  Show dependency tree
 
Reported: 2015-02-28 20:18 UTC by Vladimir Riha
Modified: 2015-03-31 14:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
webkit log (599.47 KB, text/x-log)
2015-02-28 20:18 UTC, Vladimir Riha
Details
sample project (5.55 KB, application/zip)
2015-02-28 20:19 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2015-02-28 20:18:58 UTC
Created attachment 152298 [details]
webkit log

Please check the attached PHP project and add line breakpoints to index.php line 33 and run the project. The breakpoint is ignored. It works fine in HTML file or if I move the JS code to JS file but not in embedded JS in PHP file.


Thank you


Product Version: NetBeans IDE Dev (Build 201502260001)
Java: 1.7.0_75; Java HotSpot(TM) Client VM 24.75-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_75-b13
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
Comment 1 Vladimir Riha 2015-02-28 20:19:54 UTC
Created attachment 152299 [details]
sample project
Comment 2 Martin Entlicher 2015-03-30 12:42:20 UTC
Fixed by changeset:   285594:1f155bc084cd
http://hg.netbeans.org/web-main/rev/1f155bc084cd
Comment 3 Quality Engineering 2015-03-31 02:44:23 UTC
Integrated into 'main-silver', will be available in build *201503310001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/1f155bc084cd
User: mentlicher@netbeans.org
Log: #250786: Make Breakpoints to work in embedded JavaScript in PHP files.
Comment 4 Jiri Kovalsky 2015-03-31 11:19:48 UTC
Product Version: NetBeans IDE Dev (Build 201503310001)
Java: 1.8.0_40; Java HotSpot(TM) 64-Bit Server VM 25.40-b25
Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b25
System: Linux version 3.13.0-24-generic running on amd64; UTF-8; en_US (nb)

Embedded JavaScript breakpoints now work fine in PHP files too. Thanks for the fix Martine!