This is normally caused by your trying to watch a local variable outside the function in which it is defined (or watch a static global variable outside the file in which it is defined). Automatic local variables don't even exist outside of the function since they are stored on the stack. Static local variable exist but are protected from access outside the function. Hope that helps! Harold > Ok, this is my first time doing a project using the ICD2, and it's > also my first using relocatable code. > > My problem is that I just added a couple of watches in the watch > window for user defined symbols (ie not SFRs). All MPLAB (v7.22 btw) > will say about them is "Out of Scope" in the value column. I've tried > to find any mention of this in the help, and I've come up against a > wall. > > I know this is probably a simple problem, but I'm stumped. Help! > > Josh > -- > A common mistake that people make when trying to design something > completely foolproof is to underestimate the ingenuity of complete > fools. > -Douglas Adams > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- FCC Rules Updated Daily at http://www.hallikainen.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist