#Question about loops

15 messages · Page 1 of 1 (latest)

rotund vessel
#

How do while loops progress, meaning in this case, does the for loop get done iterating through all of the contents of the arraylist and then it moves along to segmentPosition++ and leadingRange += leadingRange?

winter impBOT
#

This post has been reserved for your question.

Hey @rotund vessel! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

zenith tinsel
#

What happens when you try it and log some values with system.out.println?

rotund vessel
#

nothing shows up in the console

rough olive
#

debugging is quite useful for these kinds of questions

zenith tinsel
rotund vessel
#

i set breakpoints but it doesnt stop there?

#

and the variables tab doesnt show all the fields?

rotund vessel
rotund vessel
zenith tinsel
#

Maybe this is helpful, which IDE is that?

winter impBOT