Thread: Source code ... profiler?

  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    54

    Source code ... profiler?

    Is there some sort of program that can create a visual, explorable representation of my source code files, their contents, and their organization?

    I seem to remember a program that could make html pages out of a group of source files so you could explore them by clicking through hyperlinks (like, if you see a function call here, you can click on its name and go to the file and function definition), but I can't remember the name of it.

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    There is Source Navigator: http://sourcenav.sourceforge.net/

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Registered User
    Join Date
    Feb 2008
    Location
    Rochester, NY
    Posts
    27

  4. #4
    Registered User
    Join Date
    Jun 2008
    Posts
    54
    Quote Originally Posted by CornyKorn21 View Post
    Thanks! That was exactly what I was talking about.

    *dances*

  5. #5
    Registered User
    Join Date
    Feb 2008
    Location
    Rochester, NY
    Posts
    27
    Quote Originally Posted by matsp View Post
    There is Source Navigator: http://sourcenav.sourceforge.net/

    --
    Mats
    Hmm, looks like another tool I'll have to take a look at. Thanks

  6. #6
    Registered User
    Join Date
    Apr 2007
    Location
    Greece
    Posts
    52
    Quote Originally Posted by CornyKorn21 View Post
    great tool.

  7. #7
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    Doxygen is the best for this sort of thing.

    However, it can take some time to execute, especially for large projects. In addition to Doxygen, you might want to consider using an editor like KDevelop which allows you to follow functions to their definitions just by pressing a key combination, right inside the editor.

    (I'm suggesting KDevelop because it's the only editor I know of for sure that does this. I'm almost certain Eclipse and MSVC do this too -- the latter two will run on Windows. KDevelop is KDE [Linux] only.)
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. 'Type' Error on Build of Officially Released Source Code
    By Jedi_Mediator in forum C++ Programming
    Replies: 5
    Last Post: 07-07-2008, 05:28 PM
  2. DxEngine source code
    By Sang-drax in forum Game Programming
    Replies: 5
    Last Post: 06-26-2003, 05:50 PM
  3. Lines from Unix's source code have been copied into the heart of Linux????
    By zahid in forum A Brief History of Cprogramming.com
    Replies: 13
    Last Post: 05-19-2003, 03:50 PM
  4. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM
  5. Source Code Beautifier
    By Hammer in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 05-05-2002, 09:21 PM