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.
Product Version: NetBeans IDE Dev (Build 20140620-b87c6c9f1372) Java: 1.7.0_51; Java HotSpot(TM) 64-Bit Server VM 24.51-b03 Runtime: Java(TM) SE Runtime Environment 1.7.0_51-b13 System: Linux version 3.11.0-12-generic running on amd64; UTF-8; en_US (nb) You can't run Karma debug and Karma coverage at one moment because the code coverage preprocessing includes mess into the javascript sources which mades them non-debuggable then. It would have sense to show warning somewhere inside the IDE that such actions are not possible to run together. Also temporarily it could turn off the coverage which has usually lower priority. But that's hard to guess, the setup will likely differ at users.
1) I will add a warning to the Project Properties dialog. 2) For Karma Debug, coverage will be disabled. Info message will be shown, only once per IDE session. Thanks.
Done. Please verify and let me know if you have a better info message. BTW as a side effect, now the Karma server must be restarted if Debug mode changes. Thanks. http://hg.netbeans.org/web-main/rev/8fd96bcf4cc8
(In reply to Tomas Mysik from comment #2) > now the Karma server must be restarted if Debug mode changes. Note: this si done automatically by NetBeans, no need for a user action.
Integrated into 'main-silver', will be available in build *201406250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/8fd96bcf4cc8 User: Tomas Mysik <tmysik@netbeans.org> Log: #245207 - Karma code coverage and debug can't run together, please improve the workflow
Works like a charm, thanks a lot.