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 - Step Into fails if no main class set
Summary: Step Into fails if no main class set
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
: 47546 (view as bug list)
Depends on:
Blocks: 41537
  Show dependency tree
 
Reported: 2004-08-20 13:33 UTC by Milan Kubec
Modified: 2006-03-24 10:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot of message (4.71 KB, image/png)
2004-08-20 13:33 UTC, Milan Kubec
Details

Note You need to log in before you can comment on or make changes to this bug.
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
j2seproject/src/org/netbeans/modules/java/j2seproject/J2SEActionProvider.java;
/cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/J2SEActionProvider.java,v
 <--  J2SEActionProvider.java
new revision: 1.20; previous revision: 1.19
done
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. ***