MPASM™ Assembler Variables Not Showing in the Watch window
Variables that are defined using the EQU directive do not show up under Global variables when adding a new variable to the Watch window. This is because the EQU directive is an instruction to the compiler to substitute the equated value at compile/assembly time. Consequently, the code only sees what the variable was equated to, not what was equated. This means that because the EQU directive does not actually define a variable in the code, it does not have any memory reserved for it. Therefore, it is not automatically listed in the MPLAB® X IDE Watch window under 'Global Symbols'. However, because MPLAB X IDE knows about the equate, you can simply type and enter the equated symbol into the Watch window.