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

ctag confusion

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
pmuldoon



Joined: 26 Sep 2003
Posts: 218
Location: Northern Indiana

View user's profile Send private message

ctag confusion
PostPosted: Fri Jan 06, 2012 7:26 am     Reply with quote

Can anyone clue me in on how to get the Project Window-Symbols Tab to display functions?
I had it set up before, but somehow lost it - maybe as long ago as when I upgraded my computer, but never noticed it.
I've downloaded the ctags.exe file from sourceforge per MPLAB's manual, but I can't find any instruction as to where it should reside or how it gets launched when doing a recompile.
I'm using MPLAB v8.50 and CCS v4.128.
All I can remember from installing it before was that it took some digging to find the info to set it up. Apparently I'm not as smart as I was back then cuz I can't seem to find it again.
Being a simple guy, I like to keep my program all in one file, so being able to jump to a function/variable is pretty handy when the programs get to be longer than War & Peace.

Thanks,
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Jan 06, 2012 2:45 pm     Reply with quote

I didn't have to download anything. I just clicked on the Symbols tab
at the bottom of the Project Window in MPLAB. Then I right-clicked on
the line at the top that said "Locators Disabled" and in the pop-up menu,
I enabled locators. Then I could see my functions in the list.
pmuldoon



Joined: 26 Sep 2003
Posts: 218
Location: Northern Indiana

View user's profile Send private message

PostPosted: Mon Jan 09, 2012 6:28 am     Reply with quote

Thanks for checking.
Mine is turned on, but all it shows are LABELS and DEFINES.
It seems to be scanning my main.c but isn't picking up the functions for some reason.
hmmm...
I thought it was the ctags install, but if it's getting my defines, it must be doing something.
There's not a lot of variation allowed on how to write a function. I can't imagine it not being able to locate mine.

I'll have to save it for another day when I have some downtime to explore the problem. Just thought I'd ask first to see if anyone else has been thru this.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion 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