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 270534 - Not able to submit breakpoint LineBreakpoint xxxxxx.groovy : xxx, reason: The breakpoint is set outside of any class.
Summary: Not able to submit breakpoint LineBreakpoint xxxxxx.groovy : xxx, reason: The...
Status: NEW
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 8.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-02 09:15 UTC by virtual-cook
Modified: 2017-05-02 09:15 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 virtual-cook 2017-05-02 09:15:54 UTC
I use NetBeans 8.2 version for Grails&Groovy project (Grails 3.2.8).

Breakpoint problems appears only for project src directory.
Into Grails 3.2.8 *.java and *.groovy files in src files are located in src\main\groovy\*.* (java and groovy files located in the same directory)

Java file debugging.
If I make breakpoint into java src file then appears error: "Not able to submit breakpoint LineBreakpoint xxxxxxx.java : xxx, reason: No source root found for URL 'file:/project path/src/main/groovy/xxxxxxx.java'. Verify the setup of project sources."
To solve problem I added '/project path/src/main/groovy/' to source path (Window->Debugging->Sources - right click and 'Add Source Root');

Groovy file debugging.
If I make breakpoint into groovy src file then appears error: "Not able to submit breakpoint LineBreakpoint xxxxxxx.groovy : xxx, reason: The breakpoint is set outside of any class."
How to solve this problem?