In my file file.scala
, I have the following line:
`file.scala`
> shapes.foreach({ shape =>
...
When I start to debug it using Eclipse 3.7, scala plug-in version 2.1.0mp3, I press F5 to enter the code. It brings me to the following files in order:
`AbstractFunction1.class`
> abstract class AbstractFunction1[@specialized(scala.Int, scala.Long, ..
`Object.class`
Source code is not found
`AbstractFunction1.class`
> abstract class AbstractFunction1[@specialized(scala.Int, scala.Long, ..
`Function1.class`
> trait Function1[@specialized(scala.Int, scala.Long, ...
`AbstractFunction1.class`
> abstract class AbstractFunction1[@specialized(scala.Int, scala.Long, ..
`file.scala`
> shapes.foreach({ shape =>
`file.scala`
> shapes.foreach({ shape =>
And then eventually it shows the body of the foreach method with the while loop, not yet entering the one described in file.scala
.
But I am pressing F5 7 times just to get inside a foreach loop. How can I do better ? Is it possible to specify files to be skipped automatically ?