nkxiaochuan / powermock

Automatically exported from code.google.com/p/powermock
Apache License 2.0
1 stars 0 forks source link

Breakpoints are skipped on JUnit test methods #483

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add breakpoints to test methods
2. Debug application

What is the expected output? What do you see instead?
Expected output: application will pause on debug breakpoints
Actual output: application skips all breakpoints entirely

What version of the product are you using? On what operating system?
OS: Windows 7 Professional
IDE: Eclipse Juno
Power Mock Version: 1.5.4
Spring Version: 3.2.3

Please provide any additional information below.
Code contains: 
  @RunWith(SpringJUnit4ClassRunner.class)
  @ContextConfiguration({ "classpath:/META-INF/tests-config.xml"})

When used with PowerMockRunner.class, everything works well

Original issue reported on code.google.com by nagloan...@gmail.com on 12 Feb 2014 at 3:35

Attachments:

GoogleCodeExporter commented 9 years ago
I'm also unable to use breakpoints when using PowerMockRule with IntelliJ. Any 
solution to this issue?

Original comment by miuler on 20 Mar 2014 at 8:32

GoogleCodeExporter commented 9 years ago
Me too. It's very annoying, I can't debug tests. 
IDE: Eclipse Keppler
OS: Windows 7
Power Mock Version: 1.5.4
Spring Version: 3.2.2

Original comment by enricj...@yahoo.es on 1 Apr 2014 at 8:39

GoogleCodeExporter commented 9 years ago
This is also an issue in IntelliJ 13.1.6, please help!

Original comment by ZhangCBr...@gmail.com on 12 Mar 2015 at 1:21