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

Bug 352585

Summary: Support hit count on breakpoints (Java)
Product: z_Archived Reporter: Justin Spadea <jspadea>
Component: EDTAssignee: Project Inbox <edt.debug-inbox>
Status: REOPENED --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Justin Spadea CLA 2011-07-20 10:13:10 EDT
Default should be 0 (meaning stop at the breakpoint every time it's hit - i.e. hit count is disabled), and users can change this to any value they want. If the user sets the hit count to 2, then the breakpoint will cause the application to suspend on the second time it's hit. At this point it disables until either the user re-enables it or its hit count setting changes.
Comment 1 Justin Spadea CLA 2011-07-20 14:11:44 EDT
Turns out we get this for free from JDT's stratum breakpoint.
Comment 2 Justin Spadea CLA 2011-08-11 10:44:42 EDT
Reopening - since we created our own breakpoint type we no longer get this for free. There will be two pieces:

1. Add this property to EGLBreakpoint and provide a Breakpoint Properties page for configuration.

2. Have each debug implementation make use of this setting. This part for Java will be small - we just need to propagate the setting to the stratum breakpoint.