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.
Created attachment 148251 [details] sample project Please check the attached project, karma.conf.js contains relative paths but no basePath configuration. As a result, debugging does not work. The debug page contains links in form of <script type="text/javascript" src="/absoluteC:/Users/vlriha/Downloads/debug/project_debug_5/sample_karma/app/js/app.js"></script> Thank you Product Version: NetBeans IDE Dev (Build 201407240001) Java: 1.8.0_05; Java HotSpot(TM) 64-Bit Server VM 25.5-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_05-b13 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
For the record, the same happens if I have basePath and tests are outside of project folder
Will wait for feedback from Karma team, thanks.
Reported as https://github.com/karma-runner/karma/issues/1145 , let's see
Should be fixed now I hope, please verify. Thanks. http://hg.netbeans.org/web-main/rev/3c90844c402f
Sorry, 1st case is still reproducible. If I use basePath (to project root) and external tests, debugger stops in sources but not in tests. Raising to P2 so it can be fixed for 8.0.1. Thank you Product Version: NetBeans IDE Dev (Build web-main-1110-on-20140730) Java: 1.8.0_05; Java HotSpot(TM) 64-Bit Server VM 25.5-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_05-b13 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Integrated into 'main-silver', will be available in build *201407310738* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/3c90844c402f User: Tomas Mysik <tmysik@netbeans.org> Log: #245931 - Karma debugging on Windows without basePath configuration
Should be fixed now, please verify (ideally all the scenarios). Please, let me know once I can transplant it to the releases repo. Thanks. http://hg.netbeans.org/web-main/rev/b135408900dc
Thanks, I'll verify it in 1st available web-main build.
Verified on Windows (all cases) and Linux with whitespace in path to project. Please transplant to release801. Thank you. Mariane, should we use 801_HR_FIX (CANDIDATE) keywords? They don't exist in BZ Product Version: NetBeans IDE Dev (Build web-main-1119-on-20140801) Java: 1.8.0_05; Java HotSpot(TM) Client VM 25.5-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_05-b13 System: Linux version 3.13.0-32-generic running on i386; UTF-8; en_US (nb)
... we are not going to have a public RC builds, so we do not need HR_FIX keywords. Please proceed with integration and change TM to 8.0.1. Thanks in advance.
Done. Thanks. http://hg.netbeans.org/releases/rev/c51aa5d6eda7
Integrated into 'main-silver', will be available in build *201408020001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/b135408900dc User: Tomas Mysik <tmysik@netbeans.org> Log: #245931 - Karma debugging on Windows without basePath configuration
Verified in 8.0.1, thanks Product Version: NetBeans IDE 8.0.1 RC1 (Build 201408102300) Java: 1.8.0_11; Java HotSpot(TM) 64-Bit Server VM 25.11-b03 Runtime: Java(TM) SE Runtime Environment 1.8.0_11-b12 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)