Forum Discussion
Altera_Forum
Honored Contributor
12 years agoNios2 debug and variable panel
Hello guys.. this issue is driving me mad !! I can't understand while debugging some projects the variable panel shows that my vars value are all 0s. Moreover if I put an alt_printf() in my cod...
Altera_Forum
Honored Contributor
12 years agoSolved..
The problem was the optimization. If it is turned on unusued variable are not displayed and step debugging is not sequantial. You can disable optimization in this way: - right click on your project -> properties - click on Nios2 application properties - set optimization level to off