Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging breakpoints in Eclipse not being hit with 1.39 #513

Closed
amoebaworks opened this issue Apr 10, 2018 · 0 comments
Closed

Debugging breakpoints in Eclipse not being hit with 1.39 #513

amoebaworks opened this issue Apr 10, 2018 · 0 comments
Assignees
Labels
bug

Comments

@amoebaworks
Copy link

@amoebaworks amoebaworks commented Apr 10, 2018

Please provide the following information:

  • Version of JMockit that was used: 1.39

  • Version of JUnit hat was used: 4.12

  • Description of the problem:

Debugging breakpoints in Eclipse Oxygen 4.7.3 not being hit. Breakpoint is hit with 1.38

pom.xml

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

    <modelVersion>4.0.0</modelVersion>

    <groupId>test</groupId>
    <artifactId>test</artifactId>
    <version>1.0</version>
    <packaging>jar</packaging>

    <dependencies>
        <dependency>
            <groupId>org.jmockit</groupId>
            <artifactId>jmockit</artifactId>
            <version>1.39</version>
        </dependency>

        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.12</version>
        </dependency>
    </dependencies>

</project>

MyTest.java

import org.junit.Test;

public class MyTest {

    @Test
    public void doIt() {
        System.out.println("blah");
    }
}

Put a breakpoint on the System.out, and Debug

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
2 participants
You can’t perform that action at this time.