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?