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.
I have installed JDK 1.5.0_06 and JDK 1.6.0beta. Netbeans runs on 1.5.0. I have defined 4 Java Platforms: - JDK 1.5 (Default) - JDK 1.6.0-beta - JDK 1.5.0_06 debug - JDK 1.6.0-beta debug the 'debug'-versions include 2 additional source paths (extracted from jdk-xxx-src-jrl.zip): - C:\Program files\Java\jdkxxx\src\j2se\src\share\classes - C:\Program files\Java\jdkxxx\src\j2se\src\windows\classes When in Project Properties I switch to one of the 'debug' platforms, the list of sources in Window->Debugging->Sources isn't updated to include the additional source paths. They are only updated after NetBeans _exit_ and _new start_. It should also be better, to see this list to config the sources _before_ starting the debugger.
O.K., we need to have some listeners on the project's classpath and update the view accordingly. See issue #61777 for the possibility to config the sources before starting the debugger.
We listen on changes in global class path and list of registered platforms (in attach mode only). Thus it should work fine now. /shared/data/ccvs/repository/debuggerjpda/projects/src/org/netbeans/modules/debugger/jpda/projects/SourcePathProviderImpl.java,v <-- SourcePathProviderImpl.java new revision: 1.4; previous revision: 1.3 When not in attach mode (debugging a project inside NetBeans IDE), the correct list of boot class path and execution class path is taken, thus no need to listen for changes.
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.