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

Bug 301250

Summary: Debugger mixes up break points in different JRE version classes.
Product: [Eclipse Project] JDT Reporter: E.T. <et>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: darin.eclipse
Version: 3.4.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description E.T. CLA 2010-01-29 09:23:06 EST
Actual behavior/situation:
- Break point set in line 474 in class PrintStream using JRE 1.5.0_18 x64 (method is "newLine()" there).
- Program debugging with JRE 1.6.0_14 x86.
- Eclipse hits the break point and opens the correct class (PrintStream of 1.6) at the wrong location (line 474) (method is "write(String)" there).

Expected behavior:
Eclipse should not hit the break point at all, because the program isn't running with JRE 1.5, but with 1.6 where no break point is set in line 474.
Eclipse should only hit the break point, if the program is running with the JRE version where the break point is set.



-- Configuration Details --
Product: Eclipse Platform 3.3.101.v200902111700 (org.eclipse.platform.ide)
Installed Features:
 org.eclipse.jdt 3.4.2.r342_v20081217-7o7tEAoEEDWEm5HTrKn-svO4BbDI
Comment 1 Darin Wright CLA 2010-02-05 09:22:52 EST
This is another variation of bug 22536. In this case the breakpoints are in different JREs, rather than different projects.
Comment 2 Eclipse Genie CLA 2019-11-23 13:51:54 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.