How skip line in Intellij idea debug?

前端 未结 6 1472
借酒劲吻你
借酒劲吻你 2020-12-15 03:30

Suppose I have java code like this (only as Example):

public void someMethod(){
    int a = 3;
    int b = 2; // <-- stay debug here
    a = b + 2;
    Sy         


        
6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-15 04:03

    It is not possible to skip the EXECUTION of the lines in IntelliJ and even in Eclipse. Only thing you can do is you can do step over (F8)-which will trace line by line without going inside any function.

    One more thing is Step out(Shift+F8)- which will go to next debug point directly by executing in between lines in that single step.

提交回复
热议问题