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.

Bug 47544

Summary: Step Into fails if no main class set
Product: java Reporter: Milan Kubec <mkubec>
Component: ProjectAssignee: Tomas Zezula <tzezula>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 41537    
Attachments: screenshot of message

Description Milan Kubec 2004-08-20 13:33:02 UTC
[custom 20040820, JDK 1.5.0 b63]

If main project doesn't have Main class set and
user hit F7 then start of debugger fails with
attached message.
Comment 1 Milan Kubec 2004-08-20 13:33:50 UTC
Created attachment 16976 [details]
screenshot of message
Comment 2 Jan Jancura 2004-08-20 14:04:10 UTC
Looks like J2SE Project issue.
I call ActionProvider for ActionProvider.COMMAND_DEBUG_STEP_INTO. The
check shoult be done there.
Comment 3 Jesse Glick 2004-08-20 15:31:38 UTC
P3 at the very most! The project is not configured to be debugged and
the output says so. Just need to prettify the message in line with Run
and Debug.

For Tomas or Jirka if he is back.
Comment 4 Milan Kubec 2004-08-23 07:48:08 UTC
Please not that this issue must be fixed to release (even when P3),
link to build.xml is exposed to user and it isn't what we want. I
think that the fix should be to open the same dialog for selecting the
main class (as when running the project) not just prettifying the message.
Comment 5 Tomas Zezula 2004-08-24 10:09:31 UTC
Checking in
new revision: 1.20; previous revision: 1.19
Comment 6 Milan Kubec 2004-08-25 10:24:56 UTC
Verified in dev-200408241800.
Comment 7 Jan Jancura 2004-09-02 13:40:02 UTC
*** Issue 47546 has been marked as a duplicate of this issue. ***