Forum Discussion
Altera_Forum
Honored Contributor
22 years agoIDE Debugger
I started to use the IDE debug environment on Tuesday. So far it looks cool, however I had some problems last night. When I did multiple single steps, the PC was executing lines of C code at random...
Altera_Forum
Honored Contributor
22 years agoClassic debug problem: compiler optimization... makes things act very strange when debugging and appear to "jump around". I suggest you go into your source & syslib project's "properties" in the IDE and locate C/C++ build options, turn optimization off (-O0).
You should also be able to just selet "Debug" (vs. "Release") in the same part of the GUI to do this, then re-compile. Note: you should do this for BOTH your application and the syslib project.