You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Geertjan Wielenga (Jira)" <ji...@apache.org> on 2021/08/14 19:12:00 UTC
[jira] [Commented] (NETBEANS-5922) Can't debug java pgm: says can't
set breakpoint in main.java: no main.java in project
[ https://issues.apache.org/jira/browse/NETBEANS-5922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17399244#comment-17399244 ]
Geertjan Wielenga commented on NETBEANS-5922:
---------------------------------------------
Can you point to somewhere where we can see your project (maybe on GitHub) or can you post a screenshot here of it?
> 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
> Priority: Major
> 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