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.
-create a webapp, say WA1 (this creates index.jsp and left it opened in the IDE) -create some html (with some <script>...) there and debug it -create another webapp, say WA2 -edit WA2/index.jsp to contain: <body> <h2>Hello World!</h2> <script language='Javascript'> var str = ''; //Example test code for WebApplication1 str = '<h2>Resources for WebApplication1:</h2><br><table border="1">'; var app = 'new WebApplication1'; app = 'ahoj'; </script> </body> -put breakpoint on the line with 'var str...' -go to project properties -> debug and disable server side debugging and enable client side debugging -run debug file on the WA2/index.jsp => expected: IDE stops on the breakpoint in the correct file (WA2/index.jsp) actual: IDE "stops" on the breakpoint in the WA1/index.jsp file, but in this file there is no breakpoint
As noted in the user guide here: http://wiki.netbeans.org/JavaScriptDebuggerTechnologyPreviewUserGuide#section-JavaScriptDebuggerTechnologyPreviewUserGuide-Breakpoints the client side breakpoints in .jsp file are not supported in Technology Preview. The breakpoint that appears to have been set is the server side breakpoint. You set the breakpoint in the client side source that is generated from the .jsp by opening the (client size) source (the tab will say something like http://.../index.jsp using the Sources window.