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.
As described by issue http://www.netbeans.org/issues/show_bug.cgi?id=51005 the wrong sources can be used by the debugger when the automatic "source for binary" querying is used. To get around this problem I want to tell the debugger exactly what sources to use, with the sourcepath tag. The sources I specify are used but they are not the only ones. The automatic querying is still in effect and sources defined by libraries are also (incorrectly) used, seemingly with higher precedence than the once I specified with the sourcepath. Don't know if this is a bug. If not then perhaps the sourcepath tag could be equipped with an option like "exclusive" that would allow me to say "use these sources and ONLY these."
I agree, sourcepath should be exclusive.
No chance to fix in 4.1.
Changing TM for open issues.
sourcepath made exclusive in changeset: 107757:ea89e1fab816 http://hg.netbeans.org/main/rev/ea89e1fab816
Integrated into 'main-golden', will be available in build *200811110201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ea89e1fab816 User: mentlicher@netbeans.org Log: #52920 - Interpretting the sourcepath exclusively.
sourcepath must not be exclusive due to issue #153021. This fix was rolled back in changeset: 107931:0e884198882d http://hg.netbeans.org/main/rev/0e884198882d
It's better to add the exclusive attribute.
Implemented in changeset: 107943:244f4ed2a953 http://hg.netbeans.org/main/rev/244f4ed2a953 With <sourcepath exclusive="true"> the source path becomes exclusive. Otherwise it's added to the original source path.
Integrated into 'main-golden', will be available in build *200811130201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/0e884198882d User: mentlicher@netbeans.org Log: #153021 - Rollback of fix of issue #52920. sourcepath must not be exlusive.
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.