Yes, I have also tried the following: USHARE FLAGS5 RES 1 But it still does not show in the drop down in the watch window. In MPLAB, the defined constants always showed up in the watch window. -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of Ned Konz Sent: Thursday, April 17, 2003 11:52 PM To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC]: How do I get variable names to show up in 6.x watch On Thursday 17 April 2003 06:25 pm, James Williams wrote: > Can someone please tell me how I can get variable labels to show up > in MPLAb 6.x watch window. None of my labels for the variables ram > show up in the drop down list. The only thing that shows up is the > labels for routines. > > I have try to declare my variables as follows: > FLAGS5 EQU 0X101 > > However they the label FLAGS5 does not show up in the watch window. > Now, I have to remember all of my hex addresses for the variables > in order to watch the contents of those registers. I have some 200 > bytes of global variables declared. You didn't declare a variable; you just defined a numeric constant. Have you tried actually using RES and relocatable objects so your names get into the map? -- Ned Konz http://bike-nomad.com GPG key ID: BEEA7EFE -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics