| E_Blue 
 
 
 Joined: 13 Apr 2011
 Posts: 417
 
 
 
			    
 
 | 
			
				| MPLAB ICD3 variables won't update on watch window. |  
				|  Posted: Wed Oct 08, 2014 2:04 pm |   |  
				| 
 |  
				| I have an structure and a single variable and the values on watch windows doesn't appear to be Ok because the program goes through a part of the code that shouldn't go if the variables actually had the values showed on watch window. 
 I.E.:
 
 
  	  | Code: |  	  | void LedGprsSub() {
 if(!GPRS_Status.AllVectorsInit && GPRS_Status.Pendientes>0)
 {
 output_toggle(LedGPRS);
 }
 else if(GPRS_Status.AllVectorsInit && GPRS_Status.Pendientes==0)
 {
 output_low(LedGPRS);
 }
 }
 | 
 
 
 
 In that Sub GPRS_Status.Pendientes in watch window = 5 but any way the program do
 
 
  	  | Code: |  	  | output_low(LedGPRS); | 
 
 How is that possible?
   
 I'm using PIC18F67J50, MPLAB 8.92 and CCS 5.025 and ICD3
 _________________
 Electric Blue
 |  |