I have a line like this:
STRUCT(2)%VAR = 1
I use fpp to make the code a little more readable with
#define VAR STRUCT(2)%VAR
and now the code is
VAR = 1
The preprocessor expands this to the full line and everything works fine.
However, when I am debugging, I can no longer hold the cursor over "VAR" and see the value in a popup, nor can I put "VAR" in a watch window. Is there a way to have the debugger know about expanding "VAR" like the preprocessor does?