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.
I have simple php project with one php file with javascript. I have put breakpoint on line 15 and then debug the javascript source. Then I changed the javascript code, but during the next debugging the old code is opened. See the attached screenshot. Firebug is stopped on the line 15 with the right sources, the ide shows the old one source and breakpoint execution is also stopped on the line 15.
Created attachment 69319 [details] Firebug shows different sources (the right one), NetBeans shows the old sources.
Looking into it...
The page source is (correctly) cached by the IDE, but the problem is that there is no currently no mechanism to invalidate the cache. This would involve changes on the IDE side as well as both the IE and FF extensions.
hmmmm, sounds like you know the problem and perhaps the fix. Do you want to own it or want me to work on it?
I discussed this earlier with Deva, and I think that the FF extension needs to have some way of determining when its loaded sources are out of date. I'll look into it further.
Changeset: 5e96de50f998 Done for Firefox. Some IE browser extension changes are also required.
Integrated into 'main-golden', will be available in build *200809160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/5e96de50f998 User: Quy Nguyen <quynguyen@netbeans.org> Log: #146518 - Refresh R/O sources when debugged browser reloads (Firefox)
IE extension now sends source reload messages