CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

MPLAB ICD3 variables won't update on watch window.

 
Post new topic   Reply to topic    CCS Forum Index -> CCS ICD / Mach X / Load-n-Go
View previous topic :: View next topic  
Author Message
E_Blue



Joined: 13 Apr 2011
Posts: 403

View user's profile Send private message

MPLAB ICD3 variables won't update on watch window.
PostPosted: Wed Oct 08, 2014 2:04 pm     Reply with quote

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? Shocked

I'm using PIC18F67J50, MPLAB 8.92 and CCS 5.025 and ICD3
_________________
Electric Blue
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> CCS ICD / Mach X / Load-n-Go All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group