viewing global variables under linux

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

viewing global variables under linux

1,773 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by andrewSK on Wed Sep 22 01:13:45 MST 2010
installed LPCXpresso under Ubutu 10.04  , ran the blinky project with no issues . However when I try to view global variables I don't get anything in the variables tab. Having run "add global variables" once this option seems no longer available when I right-click in the variables tab.
2. questions

1. do I need to change a colour option to see the contents of the variables tab ?
2. is there another way to select watch variables ?

thanks
0 Kudos
Reply
3 Replies

1,751 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by andrewSK on Wed Sep 22 10:43:06 MST 2010
Obviously I am  debugging blinky  -if I "run" it blinks if I single step I can get it to toggle (and no error messages about not being connected) but no watch "glasses" icon in the variables window.

Created a new workspace , this time on selecting debug it automatically switched perpsectives (didn't do that in the first workspace nor incidentally when running under windows).

now watch works .

The usb needs to be removed and reconnected when changing projects otherwise it is now working. If i find a way to reproduce the original problem I'll post it.
0 Kudos
Reply

1,751 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Luis Digital on Wed Sep 22 07:00:33 MST 2010
Hello,

In my dying distribution works. I think he is trying to add variables without starting the debugging process.
0 Kudos
Reply

1,751 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Wed Sep 22 04:12:07 MST 2010
Hi,

With LPCXpresso1343_blinky, I can right-click on the Variables window and "Add Global Variables", which shows me 4 global variables that I can add (g_pfnVectors, SystemCoreClock, timer16_0_counter, timer16_1_counter).

I can add any of these variables, run the application, suspend, and add more. i.e. I don't have a problem. Can you give *exact* details of what you are trying and what is failing?

Also:
1. You shouldn't have to unless you are using a strange Theme (the colors used depend on the Theme, but apart from the case mentioned in the release notes, all the colors used are sensible and display correctly
2. You can view any variable in the Expression window by highlighting the variable name, right-clicking and "Add Watch Expression"
0 Kudos
Reply