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.
Summary: | debugger confuses source roots | ||
---|---|---|---|
Product: | debugger | Reporter: | emiddio <emiddio> |
Component: | Java | Assignee: | issues@debugger <issues> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows 7 x64 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
emiddio
2010-06-02 20:22:58 UTC
also -- after stop/restarting netbeans -- it automatically added the src.zip bundle to the sources of the jdk1.6 -- it show as added in the java platforms wizard. if i then remove the src.zip from the sources -- it is automatically added next time i debug the project. i guess i will have to move the sources out of the jdk6 installation folder to force netbeans from using them. It's necessary to use -Xbootclasspath/p:<path> in order to use modified classes. Debugger has no way to find out that you've added something to your bootclasspath. In Debugger Console you should get a warning like: "Not able to submit breakpoint LineBreakpoint LogManager.java : 790, reason: Breakpoints source file does not belong into the preferred source root... See Window/Debugging/Sources." So go to Window/Debugging/Sources and move the source root that represents your modified JDK classes up so that it's before JDK's src.zip. This should solve the problem. |