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.
Created attachment 134126 [details] sample project Please download attached project, set server to external (Apache with PHP) and run app.html in Chrome with NB integration. Then set breakpoint to app/controller/IdentificationController.js, line 32 and in browser click on Connect button => breakpoint is not hit although code execution on line 32 was done. The reason is that ExtJS loads scripts with dynamic URL parameter to bypass browser caching, something like http://localhost/TamMobile/app/controller/IdentificationController.js?_dc=1367821150766 And the _dc changes on each page reload. The same happens with Chrome Developer Tools Product Version: NetBeans IDE Dev (Build web-main-10436-on-20130503) Updates: Updates available Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11 System: Linux version 3.2.0-41-generic-pae running on i386; UTF-8; en_US (nb)
Related problem is that I have "static" URL parameter <script src="scripts/p3chart.js?v1"></script> which I manually change only when deploying to production server. So when I'm debugging on my local machine, the URL remains the same all the time. However If I put line breakpoint there, it is not resolved (it is marked as inactive) and it doesn't work.
I've seen a similar case in a CSS link and it was solved simply by stripping down the query part of URL.
Fixed by changeset: 285492:45e0feb32ee1 http://hg.netbeans.org/web-main/rev/45e0feb32ee1
Integrated into 'main-silver', will be available in build *201503270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/45e0feb32ee1 User: mentlicher@netbeans.org Log: #229383: Submit line breakpoints via urlRegex. This allows to hit breakpoints in URLs with query and reference parts.