Skip to content

breakpoint cannot hit on inner class #39

Closed

Description

image

the bp to print to inner2 cannot be hit

Activity

  1. andxu commented on Sep 21, 2017

    @andxu
    ContributorAuthor

    class A {
    void m() {
    System.out.println("outer");
    }
    }

    public class InnerClassTest {

    public void test() {
        new InnerClassTest().go();
    
        class A {
            void m() {
                System.out.println("inner2");
            }
        }
        new A().m();
    }
    
    void go() {
        new A().m();
        class A {
            void m() {
                System.out.println("inner");
            }
        }
    }
    
    void go2() {
        new A().m();
        class A {
            void m() {
                System.out.println("inner");
            }
        }
    }
    
    
    class A {
        void m() {
            System.out.println("middle");
        }
    }
    

    }

  2. modified the milestones: 0.2.0, 0.1.0 on Sep 21, 2017
  3. testforstephen commented on Sep 25, 2017

    @testforstephen
    Contributor

    fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions