Bug 249110 - [breakpoints] Filtering Breakpoints Watchpoints
Summary: [breakpoints] Filtering Breakpoints Watchpoints
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.6.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-30 09:46 EDT by McKaot CLA
Modified: 2010-08-05 09:46 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description McKaot CLA 2008-09-30 09:46:25 EDT
Within the breakpoint properties dialog it's possible to filter threads, where this breakpoint is "active".
Often it would be really useful to do the same based on the type or instance info (-> this),  e.g. if a watchpoint is set on a member defined in a superclass, it's annoying to be interrupted on every access resp. change.
Comment 1 McKaot CLA 2010-08-05 09:37:04 EDT
It seems to be an unsolvable problem...?
Comment 2 Darin Wright CLA 2010-08-05 09:46:06 EDT
You can restrict a breakpoint to specific object instances. Select the variable in the variables view and from the contenxt menu choose "Instance Breakpoints...". A dialog will show all breakpoints applicable to the selected object, and you can then select which breakpoints you would like to restirct to that object. The objects appear in the "filters" property page of the breakpoint. The filters are cleared when the debug session terminates.