Summary: | Hit count watchpoints not always re-enabled (1GLE911) | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Joe Szurszewski <eclipse> |
Component: | Debug | Assignee: | Joe Szurszewski <eclipse> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P1 | ||
Version: | 2.0 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: |
Description
Joe Szurszewski
2001-10-10 22:19:01 EDT
Please investigate. Please verify. Oops. The problem was a ConcurrentModificationException that was coming out of JavaBreakpoint#changeForTarget. The method was getting a List of requests, iterating over that List, and updating the requests as necessary. The trouble was that "updating" often meant replacing the request (removing it from the List and adding a new request). When iteration over the list tried to continue (after modifying the list), we were getting the exception. Fixed. JavaBreakpoint#changeForTarget now iterates over a clone of the list. Verified. |