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.
ECMAScript "debugger" statements [ http://www.ecma-international.org/ecma-262/5.1/#sec-12.15 ] are translated as calls to an empty body method [ jdk.nashorn.internal.runtime.ScriptRuntime.DEBUGGER method in nashorn ]. Is it possible to insert a breakpoint into this method on *any* nashorn debugging session automatically? That way, user need not even open/edit JS files in NetBeans -- just need to throw 'debugger' statements for breakpoints. NB will get control into DEBUGGER method - on pressing F8, control will land at debugger statement [if that can also be automated, that would be great! i.e., auto-F8 for DEBUGGER methods].
Thanks, scheduling for the current dev.
Fixed by changeset: 300419:f48c4c9dc480 and changeset: 300420:c0ea2450ab72 http://hg.netbeans.org/core-main/rev/c0ea2450ab72
Integrated into 'main-silver', will be available in build *201609020002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/f48c4c9dc480 User: mentlicher@netbeans.org Log: Prefer the event thread when in step. (This is necessary for the fix of issue #256822)