Linux Debug and Globals
I've run into a problem trying to use the IDE to debug Linux apps. The problem is with global variables (variables defined outside of the current scope in the debugger). I first add my global variables to my list by right clicking on the global variable and then selecting "Add Expression". This is where the trouble starts. The "value" associated with the global variable is wrong and if you double click in the expression variable (that you just added) and attempt to change its value...you'll get a pop up window asking for the new value...once you enter it and press <enter>....the value doesn't change (and you don't get any errors either). If you place the mouse over the variable in your source code...it also shows the wrong value. I should point out that local variables (variables that show up under the "variables" watch window) work just fine. You can change their value and place the mouse over them in code and see the correct value.
An additional point....I can compile the same code in "HAL" mode and access and manipulate the global variables. The IDE debugger works fine in HAL but not in Linux. So what am I doing wrong?