Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-05-2014, 03:52 AM
|
#1
|
LQ Newbie
Registered: Jan 2013
Posts: 28
Rep:
|
ns2 code visualizer
I want to know is there any tools which show me a graphical presentation of codes? Better to describe my case I run wpan_demo1.tcl on ns2.35 from thisi directory /home/alex/Downloads/ns-allinone-2.35/ns-2.35/tcl/ex/wpan. As you see by ruuning this scrpt lots of file on the "/home/alex/Downloads/ns-allinone-2.35/ns-2.35/wpan" will run. I want to know is there any tool which depict the relations between this file or in each file what the funstion is and show the relation between funstions?
I search and got information about Doxygen and Grephviz but not sure and do not know how to.
Last edited by moreroz; 04-05-2014 at 03:53 AM.
|
|
|
04-05-2014, 05:33 AM
|
#2
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
$ ns wpan_demo1.tcl :
1) The nam simulation opens OK. Press the 'Play' button for animation.
2) The files wpan_demo1.nam (2.3MB) and wpan_demo1.tr (1.7MB) are created.
? What more can you want ?
( Doxygen sorts out any documentation written into {source files .c, .cc, etc.}.
Not a visualizer.)
To know "relations between functions" :
I guess you will have to learn c++ and tcl + otcl, and the particular ns2 functions,
so you can read the code to see what's happening.
-
|
|
1 members found this post helpful.
|
04-05-2014, 05:55 AM
|
#3
|
LQ Newbie
Registered: Jan 2013
Posts: 28
Original Poster
Rep:
|
Thanks,dear knudfl thanks for replying again.
I am looking for tools which visualize the code. I need a tools to visualize in order to make my work faster. But what you told is right but what I am looking for is a code presenter. I think this link ask my question better than my I asked http://stackoverflow.com/questions/517589/tools-to-get-a-pictorial-function-call-graph-of-code based on this I found codeviz and understant. My question is: do you have any experience with those or something like them ? Suppose that you give me 10 file each one 400 line of project If I have one these tools my work become so faster than my self track all line to see what is happening ?
Last edited by moreroz; 04-05-2014 at 06:02 AM.
|
|
|
04-05-2014, 08:09 AM
|
#4
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
# 3 .
Sorry, I am not a coder, and cannot come up with any good advices.
The Graphviz image shown here looks promising http://www.graphviz.org/
* http://www.graphviz.org/Documentation.php
Looks even better : Codeviz http://www.csn.ul.ie/~mel/projects/codeviz/
... and there is good documentation for both tools Graphviz / Codeviz, I think.
So why not go ahead and try out both the applications ...
-
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 06:22 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|