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.
Product Version: NetBeans IDE Dev (Build 201506010405) Updates: Updates available Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b14 System: Linux version 3.13.0-37-generic running on amd64; UTF-8; cs_CZ (nb) User directory: /home/cesilko/.netbeans/dev Cache directory: /home/cesilko/.cache/netbeans/dev Description: ============ With JDK 9 Java platform users can no longer step into Java source code when debugging their applications. Steps to reproduce: =================== 1. Download and install JDK 9 [1] on your computer. 2. Invoke "Tools > Java Platforms" from main menu. 3. Click "Add Platform..." button, click "Next >", browse to location of JDK 9, select it, click "Next >" and then "Finish" buttons. Then "Close" Java platform manager. 4. Invoke "File > New Project..." from main menu. 5. Select "Java" category, select "Java Application" project type, click "Next >" and then "Finish" buttons. 6. Right click "JavaApplication" project node and invoke "Properties" from its popup menu. 7. Select "Libraries" category, change "Java Platform" to "JDK 1.9" and click "OK" button. 8. In Editor change "// TODO code application..." code at line 18 to "System.out.println("Hello, world!");" method call in JavaApplication.java file. 9. Invoke "Debug > Step Into" from main menu. 10. When debugger stops execution at line 18 highlighted in green, repeat step 9. Expected: PrintStream.java file is opened in Editor with caret highlighting first line of "public void println(String x) {" method. Actual: Line 19 in JavaApplication.java file with closing bracket is highlighted. Just like user would user Step Over action. [1] https://jdk9.java.net/download
This is JDK 9 specific issue.
Already Fixed: http://hg.netbeans.org/jet-main/rev/9b36ac08d2ea When reporting debugger issues please add the Compile On Save state into the issues as there is 2 different ant scripts one for CoS enabled and other for CoS disabled.
Product Version: NetBeans IDE Dev (Build 201506020405) Updates: Updates available Java: 1.9.0-ea; Java HotSpot(TM) 64-Bit Server VM 1.9.0-ea-b66 Runtime: Java(TM) SE Runtime Environment 1.9.0-ea-b66 System: Linux version 3.13.0-37-generic running on amd64; UTF-8; cs_CZ (nb) Verified. Thanks for the quick fix Tomasi.