Example code:
public class test {
public static void main(String[] args) {
if (false) {
System.out.print("if");
} else if (true) {
System.out.print("else-if");
}
}
}
and set breakpoint like the picture:
Then debug it, however, Intellij IDEA doesn't stop at the breakpoint. Why?
Aucun commentaire:
Enregistrer un commentaire