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 - Cannot debug project with external test files
Summary: Cannot debug project with external test files
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-22 08:21 UTC by Tomas Mysik
Modified: 2015-06-24 05:48 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?