I am using Eclipse with Java and the Android SDK.
I have a while loop giving me issues and I need to see what it being logged in the if statement below (what is being added to the two ArrayLists). This is the loop:
while (totalDebt > 0) {
// stuff
if (totalDebt > 0) {
debtList.add(totalDebt);
feeList.add(interestFeeTotal);
}
}
How can I use log to see what is going on here in each iteration?
AT the top of your file you need to put
Then anywhere in that file you can write
Where for message you can do something like
assuming
iis your iteration variable