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 176589 - [68cat][debugger] Syntax error where code does not belong into ...
Summary: [68cat][debugger] Syntax error where code does not belong into ...
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-11 12:36 UTC by esmithbss
Modified: 2010-02-12 21:44 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 esmithbss 2009-11-11 12:36:48 UTC
When I try to set a breakpoint, I receive the following error:

Not able to submit breakpoint LineBreakpoint EmployeeDataAction.java : 27, reason: Breakpoint does not belong into the preferred source root 'C:\Documents and Settings\ersmith\My Documents\NetBeansProjects\...'. See Window/Debugging/Sources.
Invalid LineBreakpoint EmployeeDataAction.java : 27

The proper syntax is "{SourceFile} does not belong to the preferred source root..."
Comment 1 Vojtech Sigler 2009-11-12 01:00:32 UTC
I am not able to reproduce this. Could you, please, add  more info? What netbeans version/build are you using? Java version? Steps to reproduce from clean userdir? Thanks
Comment 2 Martin Entlicher 2009-11-12 02:15:48 UTC
Yes, we mean the sourcefile in which the breakpoint is submitted does not belong to the preferred source root. This happens when there's another class of the same name on the class-path which have higher precedence.
Comment 3 Martin Entlicher 2010-02-12 13:16:44 UTC
Message was corrected in changeset:   160042:e37f3c1b36e4
http://hg.netbeans.org/main/rev/e37f3c1b36e4
Comment 4 Quality Engineering 2010-02-12 21:44:55 UTC
Integrated into 'main-golden', will be available in build *201002130200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/e37f3c1b36e4
User: mentlicher@netbeans.org
Log: #176589 - Message text corrected.