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 59914 - Cannot add/delete watches from popup menu
Summary: Cannot add/delete watches from popup menu
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Ant (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-14 08:23 UTC by Jiri Prox
Modified: 2006-03-24 13:02 UTC (History)
0 users

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 Jiri Prox 2005-06-14 08:23:31 UTC
NB 4.1 fcs
JDK 1.5.0_03

The watches cannot be added or deleted from the popup memu of Watches window,
the appropriate menu items are missing.
Threre is no way how to delete watch thus pressing delete when watch is focused
doesn't work.
Comment 1 Jan Jancura 2005-09-21 11:02:39 UTC
reproducible
Comment 2 Martin Entlicher 2005-10-21 20:22:56 UTC
Needs to be added into WatchesModel - getActions() does not return anything.

Also the watches are shared among *all* debuggers!
This does not make much sense IMHO. I do not need to see Java watches when
debugging ant and vice-versa.

Comment 3 Martin Entlicher 2005-10-31 16:06:40 UTC
The empty actions provide is removed. The actions are provided by debuggercore
automatically:

/cvs/ant/debugger/src/org/netbeans/modules/ant/debugger/WatchesModel.java,v  <--
 WatchesModel.java
new revision: 1.4; previous revision: 1.3
done
Removing
META-INF/debugger/AntSession/WatchesView/org.netbeans.spi.viewmodel.NodeActionsProvider;
/cvs/ant/debugger/src/META-INF/debugger/AntSession/WatchesView/org.netbeans.spi.viewmodel.NodeActionsProvider,v
 <--  org.netbeans.spi.viewmodel.NodeActionsProvider
new revision: delete; previous revision: 1.1
Comment 4 Jiri Prox 2005-11-01 15:14:33 UTC
verified