Bug 249110

Summary: [breakpoints] Filtering Breakpoints Watchpoints
Product: [Eclipse Project] JDT Reporter: McKaot <mckaot>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: darin.eclipse, Michael_Rennie
Version: 3.6.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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.