Debug into For Loop

 

I can't debug inside a For Loop using "Step Into" or "Step Over". It just skip the whole loop (and does execute what's inside the loop). Except if I use break point inside of the Loop.

This is very simple example, do not get attached the usability of this example:

println("begging")

for (i <- 0 to 10)
println(i)

println("end")

Let's say I have break point on 'println("begging")', then I press F7, it goes to 'For' row. If I press F7 again, It goes to println("end").

I'd like to Debbug 'println(i)' to check what's the value in i.

Is it a Environment setup that I'm missing?

0

Thanks for the topic. Keep track of a the progress in ticket https://youtrack.jetbrains.com/issue/SCL-12315 .

0

请先登录再写评论。