llmhyy / microbat

A feedback-based debugger for interactively recommending suspicious step in buggy program execution.
54 stars 15 forks source link

NullPointerException for trivially simple program #222

Closed dingyuchen closed 2 years ago

dingyuchen commented 3 years ago

For a trivially simple program, eg

public class SimpleSequentialTest {
    public static void main(String[] args) {
        int x = 10;
        int y = 20;
        System.out.println(x + y);
    }
}

StepRecommender is unable to find Datadominator for line int x = 10; since there is none. Recommender will then throw a NullPointerException.