Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 27533

Summary: [breakpoints] add/remove instance watchpoints enhancement
Product: [Eclipse Project] JDT Reporter: Johan Compagner <jcompagner>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 Keywords: helpwanted
Version: 2.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Johan Compagner CLA 2002-12-02 16:23:25 EST
Hi,

I can't seem to be able to make an instance watchpoint on a List that i have 
in a Object.

So my this is the main object that has a:

private List list;

in a method i go to: this.list
and i want to add an instance watchpoint on the size of that list.

I don't seem to be able to do it.

I can set a watchpoint on it. on the this.list.size i don't have an 
entry "instance breakpoints" in the popup.

The list it self so this.list has instance breakpoints. But there that 
breakpoint doesn't come up.

What exactly to do is a bit strange. But i think most of the time i can select 
a object inside something do : watchpoint and then directly: instance 
breakpoints. But it seems that sometimes i have to do this on the parent..

What was much better is that add/remove watchpoints was a menu instead of a 
menuitem. With entry's: add/remove watchpoint->instance item and a class item 
so that i can directly make a instance watchpoint.
(almost all my watchpoints must be instance)
Comment 1 Darin Wright CLA 2002-12-02 17:24:10 EST
The size of a list is a primitive - not an object. You can only add instance 
watchpoints to objects.
Comment 2 Darin Wright CLA 2002-12-02 17:27:04 EST
As an enhancement, we should consider add/remove instance watchpoint actions 
for convenience creation.
Comment 3 Darin Wright CLA 2003-02-04 12:04:48 EST
Deferred
Comment 4 Michael Rennie CLA 2007-05-23 10:38:57 EDT
reopening
Comment 5 Michael Rennie CLA 2007-05-23 10:39:31 EDT
marking as wontfix, contributions are welcome