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 174207 - Freeform project: no debug item in popup menu, but it is in the main menu
Summary: Freeform project: no debug item in popup menu, but it is in the main menu
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Freeform (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2009-10-09 11:49 UTC by Vojtech Sigler
Modified: 2016-07-07 07:19 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vojtech Sigler 2009-10-09 11:49:37 UTC
Product Version: NetBeans IDE Dev (Build 200910080418)
Java: 1.6.0_16; Java HotSpot(TM) Client VM 14.2-b01
System: SunOS version 5.11 running on x86; UTF-8; en_US (nb)

When I open a freeform project and I want to debug it it first needs to generate ant targets for debugging, that is ok.
However, before this is generated, there's no "Debug" menu item in the popup menu of the freeform project node. Invoking
debug project from the main menu invokes the target-generation dialog, so does the Debug button in the toolbar and Ctrl
+ F5 shortcut. It should be also in the popup menu of the project node, otherwise it seems inconsistent with other
functions (Build, Run, etc.).
Comment 1 Martin Entlicher 2009-10-09 12:08:52 UTC
You need to add actions from "Projects/Debugger_Actions_temporary" - see
java.j2seproject/src/org/netbeans/modules/java/j2seproject/ui/J2SELogicalViewProvider.java
Comment 2 Milan Kubec 2009-10-09 14:11:23 UTC
Jesse, was the action omitted from the project context menu intentionally? Is the reason that context menu is composed
from actions defined in project.xml?
Comment 3 Jesse Glick 2009-10-09 14:25:19 UTC
Yes, context menu is determined by project.xml. What the initial contents of project.xml should be in a new project is a
UI matter which I have no strong opinion about. In particular the question is whether it makes sense for a newly created
freeform project to display actions which do not yet have any binding.
Comment 4 Antonin Nebuzelsky 2010-01-11 04:29:27 UTC
Changing the default component owner to tzezula.
Comment 5 Martin Balin 2016-07-07 07:19:14 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss