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 251476 - not able to submit breakpoint ... no source root found ...
Summary: not able to submit breakpoint ... no source root found ...
Status: RESOLVED WORKSFORME
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-28 19:43 UTC by err
Modified: 2015-06-04 15:58 UTC (History)
0 users

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 err 2015-03-28 19:43:30 UTC
The following output shows up for several different projects that are not
module projects. They are plain old java projects. I may have set
it in a platform app project a while ago. I look at the debugger's breakpoint
window and I don't see it. Why am I getting this message and how can I remove
it. 

BTW, the file referenced by the URL exists.
C:/f is actually a mount of F: to C:/f. (if that has anything to do with it)


=== output ===
Listening on javadebug
Not able to submit breakpoint LineBreakpoint PropertySupport.java : 368, reason: No source root found for URL 'jar:file:/C:/f/docs/netbeans-8.0.2-201411181905-src.zip!/openide.nodes/src/org/openide/nodes/PropertySupport.java'. Verify the setup of project sources.
Invalid LineBreakpoint PropertySupport.java : 368
User program running
Comment 1 Martin Entlicher 2015-06-04 15:58:56 UTC
If the project would be a NetBeans module project, you should not get this error, because it will have the NetBeans platform with the sources on classpath.
But are you sure, that the Java project have attached sources to the NetBeans modules? Do you have the modules added as JAR files? If yes, it's better to create libraries from the JAR file, so that you can attach sources to them.
Another option is to add the NetBeans sources directly to the project's sources, or go into Window -> Debugging -> Sources and add the source roots there.