I have attached a jpg that has the program code and also the mplab environment in it.
MPLAB SIM doesn't appear to be seeing the variable i, and is in a forever loop when it should eventually break out of the for loop. Secondly, in the watch window, it shows the variables as "restricted Memory" and does not see the array as an array. Should I not be able to see the values in the subroutine?
I'm kind of baffled about this and want to get on with debugging my program but it doesn't help when I can't see the variables within a subroutine... The other weird thing about it is that I once was able to see these variables and now cannot, and I don't think I did anything to change it.
This is just an example of my problem, not really the program I am working on...
MPLAB SIM doesn't appear to be seeing the variable i, and is in a forever loop when it should eventually break out of the for loop. Secondly, in the watch window, it shows the variables as "restricted Memory" and does not see the array as an array. Should I not be able to see the values in the subroutine?
I'm kind of baffled about this and want to get on with debugging my program but it doesn't help when I can't see the variables within a subroutine... The other weird thing about it is that I once was able to see these variables and now cannot, and I don't think I did anything to change it.
This is just an example of my problem, not really the program I am working on...