Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
12.4
-
None
Description
I just installed NetBeans 12.4. Created a test project TestDebug with 1 program, TestDebug.java with 1 executable sentence "System.out.println("TestDebug is Running". Project compiles without errors. Click the debug button with no breakpoints set and get messages below in output
Listening on javadebug
User program running
Not able to submit breakpoint LineBreakpoint Main.java : 25, reason: The breakpoint is set
outside of any class.
Invalid LineBreakpoint Main.java : 25
User program finished
There is no Main.java in the project and TestDebug does not have 25 lines of code in it.