Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358690 - Breakpoints fail to hit under JDK 1.6.0_24 (Junit 4.9b2)
Summary: Breakpoints fail to hit under JDK 1.6.0_24 (Junit 4.9b2)
Status: RESOLVED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Torsten Stolpmann CLA
QA Contact: Torsten Stolpmann CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-23 02:23 EDT by fern CLA
Modified: 2016-05-05 11:01 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.