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.

Bug 253102

Summary: Cannot debug project with external test files
Product: javascript Reporter: Tomas Mysik <tmysik>
Component: DebuggerAssignee: Martin Entlicher <mentlicher>
Status: NEW ---    
Severity: normal CC: vriha
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Tomas Mysik 2015-06-22 08:21:36 UTC
Use a sample project from issue #245863 and try to debug some its test files - it is not possible since breakpoints cannot be resolved.

Thanks.
Comment 1 Martin Entlicher 2015-06-23 16:27:47 UTC
Breakpoints in external files work fine in Chromium version 43.0.2357.81 on Ubuntu 14.04 (64-bit).
Comment 2 Martin Entlicher 2015-06-23 16:48:23 UTC
It works for me even in Google Chrome Version 43.0.2357.130 (64-bit)
The breakpoint is hit correctly:
{"method":"Debugger.paused","params":{"reason":"other","hitBreakpoints":["\/^http:\/\/localhost:9876\/absolute\/home\/martin\/NETBEANS\/ISSUEZILLA\/253102\/project_debug_8\/neco\/test\/unit\/directivesSpec\\.js.*\/:5:0"],...}}
Comment 3 Tomas Mysik 2015-06-24 05:48:03 UTC
Strange that it does not work for me (on 2 PCs) with 'absolute' URLs. Perhaps some Chrome extension breaks it?