Hi,
Is there a way to use wwatch/rwatch, to monitor changes on local target variables, in the signal functions?
for a local variable called DebugedVariable inside the main function, in the main.c module, I tried using
wwatch(\MAIN\main\DebugedVariable); and wwatch(&\MAIN\main\DebugedVariable);
without any success.
best regards,,, ozgun
Local (or automatic) variables are stack based and do not have a fixed address. Therefore wwatch and rwatch do not work here.
You may define the variables with the 'static' keyword. Then the variables have a fixed (static) address and your apporach should work.
well i have the same problem...
please inform me if you have succeed with it.