Buggy Workbench Behavior with Deleted Global Variables

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Buggy Workbench Behavior with Deleted Global Variables

1,019 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by tkreyche on Sun Mar 14 22:39:37 MST 2010
Be careful if you have a global variable, and add it to the Variables watch window with "Add Global Variables."

I subsequently commented out the global variable, but without removing it from the watch window.

The code executed but values displayed for the variables in the watch window were completely erroneous.
0 Kudos
Reply
1 Reply

994 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Mon Mar 15 03:21:21 MST 2010
Yes, there does seem to be some strange behavior here. We will investigate for fixing in a future release of the lpcxpresso ide.

In the meantime, note that

- If you highlight a particular variable within the variable view - the correct value  for it is still displayed at the bottom of the variable view.

- The debugger will indicate within the variable view which variables it can no longer find (ie the ones you have deleted). If you remove these deleted variables from the variable view, then quit and restart your debug session - things will then be back to normal.

Regards,

CodeRedSupport.
0 Kudos
Reply