You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "H. Glen Kilgore (Jira)" <ji...@apache.org> on 2021/08/14 19:09:00 UTC

[jira] [Created] (NETBEANS-5922) Can't debug java pgm: says can't set breakpoint in main.java: no main.java in project

H. Glen Kilgore created NETBEANS-5922:
-----------------------------------------

             Summary: Can't debug java pgm: says can't set breakpoint in main.java: no main.java in project
                 Key: NETBEANS-5922
                 URL: https://issues.apache.org/jira/browse/NETBEANS-5922
             Project: NetBeans
          Issue Type: Bug
          Components: cnd - Debugger
    Affects Versions: 12.4
            Reporter: H. Glen Kilgore
             Fix For: 12.4


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.  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists