eclipse没有明显的理由跳过许多行

时间:2013-07-26 17:44:38

标签: java android eclipse debugging eclipse-adt

我正在使用eclipse。我有一个java方法应该在Android画布上绘制一些图像(我不认为这个背景故事是相关的,但谁知道)。由于我的方法不符合预期,我决定首次亮相。我的方法如下:

List<Stuff> myStuff = …

public Point methodName(Point offset, other params){
    final int nStuff = myStuff.size();

    if (null == myStuff || myStuff.isEmpty() || nStuff > offset.x) {
            return offset;
    }

    //bunch of lines that eclipse completely skip go here
    //here is first of skipped lines
    LinearLayout view = (LinearLayout) mInflater.inflate(R.layout.my_view, null);


    //eclipse goes all the way down to here
    return offset;

}

我发现的东西引起了我的注意。出于现在明显的原因,eclipse只是在我的代码中跳过了许多行。我只是跳过它们。没有错误。没有。只是跳过。

现在,我从未见过这个。跳过是一致的:从第252行到第293行。

0 个答案:

没有答案
相关问题