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

Bug 358690

Summary: Breakpoints fail to hit under JDK 1.6.0_24 (Junit 4.9b2)
Product: z_Archived Reporter: fern <ferng001>
Component: TPTPAssignee: Torsten Stolpmann <stolpmann>
Status: RESOLVED WORKSFORME QA Contact: Torsten Stolpmann <stolpmann>
Severity: normal    
Priority: P3 CC: westphal
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description fern CLA 2011-09-23 02:23:32 EDT
Build Identifier: M20110210-1200

While writting a JUNIT test i need to stop at a breakpoint to inspect the contents of a String.  The breakpoint is just  skipped (as is any other breakpoint in the code executed by the test case).



Reproducible: Always

Steps to Reproduce:
1. Write a simple class
2. Write a simple test to call the class
3. Set a breakpoint in either the test or program class
Comment 1 Torsten Stolpmann CLA 2011-09-23 08:41:38 EDT
Heiner, can you please take care of this?
Comment 2 Heiner Westphal CLA 2011-09-23 10:53:35 EDT
I tried with oracle java jdk 1.6.0_26 on a 64 bit Windows7 pro
and the breakpoints work as expected.

How do you start your Test?

Debug As ... JUnit Test (Alt+Shift+D,T)? That's the way I tried.

(In reply to comment #0)
> Build Identifier: M20110210-1200
> 
> While writting a JUNIT test i need to stop at a breakpoint to inspect the
> contents of a String.  The breakpoint is just  skipped (as is any other
> breakpoint in the code executed by the test case).
> 
> 
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1. Write a simple class
> 2. Write a simple test to call the class
> 3. Set a breakpoint in either the test or program class
Comment 3 Heiner Westphal CLA 2012-01-30 16:30:15 EST
I failed to reproduce the issue and got no further info for four month now.