Variables and Watches windows
I'm using Pickit3 for debugging C program and I'm confused about watching some variables. I use XC8, on pic18f25k50, latest MplabX. I can't find any useful info nowhere on internet why some variables show up , some don't. I've been adding some nop instructions , that helps debugger to stop at certain places in code, but when I add breakpoints at my variables, breakpoints are broken, it didn't help them. And if they are not broken, it does improves nothing. There is about 120 variables to choose from, but as you might guess, these are not these ones that I need. Debugger even finds many variables from other c files in that project, but it can't find in main.c. Is there any way to use it? Do I have to refresh project somehow?