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.
Debugger should stop at the beginning of command when breakpoint is submitted in no executable location of that command. To reproduce: - create HTML 5 project - copy the following to body of index.html var a1 = [ 1, 2, 3, 4 ]; document.writeln("a1=" + a1); - toggle breakpoints at lines with 2 and 3 - run file in Chrome - debugger stops at document.writeln Product Version: NetBeans IDE Dev (Build web-main-8418-on-20120905) Java: 1.7.0_06; Java HotSpot(TM) 64-Bit Server VM 23.2-b09 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Unfortunately, Chrome is moving breakpoints down, instead of up. Therefore the breakpoint is moved to the next expression. This is a behavior of Chrome. I've fixed the visual move of the breakpoint annotation to the correct line: changeset: 243686:032645cac5c2 http://hg.netbeans.org/web-main/rev/032645cac5c2
Integrated into 'main-golden', will be available in build *201301090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/032645cac5c2 User: mentlicher@netbeans.org Log: #217863: Update the line breakpoint imediately after submit, according to the response.