Altera_Forum
Honored Contributor
21 years agoStrange value while debugging in Eclipse
All,
I encountered a very strange problem while debugging my application (KVM) on NiosII with uclinux from Eclipse. The value of some variable is not correct while showed from the Eclipse, when the cursor is on it or I check its expression. I even explicitly print out those variable, the result is correct. Is it a bug for Eclipse with uclinux? If yes, is there any workaround? Thanks, Neo <div class='quotetop'>QUOTE </div> --- Quote Start --- JamEnabled = FALSE; JamRepeat = FALSE; RequestedHeapSize = DEFAULTHEAPSIZE; /* --[ Neo Adding ]------------------------------------------------------- * * Debugging purpose, opps, useless code ... * * -------------------------------------------------------------------- */ printf("JamEnabled = %d\n", JamEnabled); printf("JamRepeat = %d\n", JamRepeat); printf("RequestedHeapSize = %08X\n", RequestedHeapSize);[/b] --- Quote End ---