Eclipse debugging “source not found”

前端 未结 6 1869
南旧
南旧 2020-11-29 05:50

I just started using Eclipse so go easy on me ;). But when trying to debug a JUnit test case I get a dialog that states the the source is not found when I get to this line i

6条回答
  •  有刺的猬
    2020-11-29 06:39

    Calculate contents.size() on a separate line instead or set a breakpoint on the method.

    Also note the junit view in Eclipse allows you to navigate the stack trace.

提交回复
热议问题