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.
public static void main(String[] args) { try { foo(); } finally { System.out.println("Finally"); //breakpoint on this line does not work } } private static void foo() { throw new UnsupportedOperationException("Not supported yet."); }
jdk 8u60 just in case
Product Version: NetBeans IDE Dev (Build 201508250002) Java: 1.8.0_51; Java HotSpot(TM) 64-Bit Server VM 25.51-b03 Runtime: Java(TM) SE Runtime Environment 1.8.0_51-b16 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 Reproduced.
Reproduced as well. And reproduced with jdb also. This is not a NetBeans bug. I'll submit a defect for JDK...
https://bugs.openjdk.java.net/browse/JDK-8134653
OK, closing then.
See also issue #49225.