This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Viewing static variables

Other Parts Discussed in Thread: CODECOMPOSER

Hi,

I have two questions.

1) Does the target get reflashed every time the debugger is connected or only if the downloaded image has been changed?

2) How do I get the debugger to display the value of  static variables?

for instance in the block below from main_AP.c in eZ430-RF2500 example code, if I set a breakpoint on

(SMPL_SUCCESS == SMPL_Receive(sLID[i], msg, &len))

the debugger stops OK but I cannot read either the value of the local variable i or or the static sNumCurrentPeer, although other variables are displayed OK.

if

 

 

(sPeerFrameSem)

{

uint8_t msg[MAX_APP_PAYLOAD], len, i;

 

 

 

 

/* process all frames waiting */

 

 

(i=0; i<sNumCurrentPeers; ++i)

{

 

 

 

if

(SMPL_SUCCESS == SMPL_Receive(sLID[i], msg, &len))

Thanks in advance for any help,

John.