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.
Steps to reproduce: - Create a JavaFX project - Create a JavaFX main file: -------------------------------------- var a = 10; var b = 20; var c = a + b; var d = a - b; -------------------------------------- - Add Breakpoints for each line - Press Debug Main Project button - Press Continue (F5) button The debugger jumps to the first line after the last one ( from 6 to 3) instead of ending the Application. Listening on 2260 User program running LineBreakpoint Main.fx : 6 successfully submitted. LineBreakpoint Main.fx : 5 successfully submitted. LineBreakpoint Main.fx : 4 successfully submitted. LineBreakpoint Main.fx : 3 successfully submitted. Breakpoint hit at line 6 in class javafxapplication1.Main by thread main. Thread main stopped at Main.fx:6. User program running Breakpoint hit at line 6 in class javafxapplication1.Main by thread main. Thread main stopped at Main.fx:6. User program running Breakpoint hit at line 3 in class javafxapplication1.Main by thread AWT-EventQueue-0. Thread AWT-EventQueue-0 stopped at Main.fx:3. User program running Breakpoint hit at line 4 in class javafxapplication1.Main by thread AWT-EventQueue-0. Thread AWT-EventQueue-0 stopped at Main.fx:4. User program running Breakpoint hit at line 5 in class javafxapplication1.Main by thread AWT-EventQueue-0. Thread AWT-EventQueue-0 stopped at Main.fx:5. User program running Breakpoint hit at line 6 in class javafxapplication1.Main by thread AWT-EventQueue-0. Thread AWT-EventQueue-0 stopped at Main.fx:6. User program running Breakpoint hit at line 3 in class javafxapplication1.Main by thread AWT-EventQueue-0. Thread AWT-EventQueue-0 stopped at Main.fx:3.
In progress. Awaiting for detailed evaluation from Alexey.
mark as fixed, please verify
The issue is reproduced if starts the Debugger by <F7> key. In this case 2 debuggers start.
It is reproduced with following steps: - Create a JavaFX project - Create a JavaFX main file: -------------------------------------- var a = 10; var b = 20; var c = a + b; var d = a - b; -------------------------------------- - Add Breakpoints for each line - Press Debug Main Project button - Press <F7> key several times The debugger jumps to the first line after the last one
By <F7> 2 instances of the debugger started, investigating the reason
The reason of this problem on compiler side. The following JIRA issue was created: http://openjfx.java.sun.com/jira/browse/JFXC-1582
I've disabled F7 to avoid starting 2 Debugger instances: Java and JavaFX.
verified