Bug 72431 - Debugger does not install line breakpoints in all locations for a line
Summary: Debugger does not install line breakpoints in all locations for a line
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M2   Edit
Assignee: Luc Bourlier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-23 09:38 EDT by Darin Wright CLA
Modified: 2004-08-24 17:57 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Wright CLA 2004-08-23 09:38:17 EDT
Java line breakpoints are only installed on the first location found for a 
given line number. There can be more than one code index/location for a line.

This was discovered from bug 70997.
Comment 1 Darin Wright CLA 2004-08-23 09:39:27 EDT
Fixed in JavaBreakpoint and subclasses thereof. The fix is to create event 
requests for all locations of a line. Changed #newRequest() to #newRequests(), 
as it is possible for a breakpoint to require more than one event request to 
install itself. 
Comment 2 Darin Wright CLA 2004-08-23 09:39:41 EDT
Please verify, Luc.
Comment 3 Luc Bourlier CLA 2004-08-24 17:57:24 EDT
Verified.