Solved! Go to Solution.
Thanks for the hint. At the moment I’m trying that method. For testing little part of code it is ok but for a whole project I will need to find better solution. Anyway It is hard to believe that there is no other way to make debugger working fine .... I would expect that there is somewhere an option allowing to select between debug/release version ... as normally is done in professional environments. It looks like I will have to look for another environment option ... hopefully IAR debugger is dealing with that in a better way.
void func(int x, int y) { volatile int debug_x = x; volatile int debug_y = y; }
Thanks for the hint. At the moment I’m trying that method. For testing little part of code it is ok but for a whole project I will need to find better solution. Anyway It is hard to believe that there is no other way to make debugger working fine .... I would expect that there is somewhere an option allowing to select between debug/release version ... as normally is done in professional environments. It looks like I will have to look for another environment option ... hopefully IAR debugger is dealing with that in a better way.